fix: serve uploads via route handler instead of public/ (standalone 404 fix)
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m49s
All checks were successful
Deploy / build-and-deploy (push) Successful in 1m49s
This commit is contained in:
@@ -21,7 +21,7 @@ COPY --from=builder /app/public ./public
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
|
||||
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
|
||||
|
||||
RUN mkdir -p /app/data /app/public/uploads && chmod 777 /app/data /app/public/uploads
|
||||
RUN mkdir -p /app/data /app/data/uploads && chmod 777 /app/data /app/data/uploads
|
||||
|
||||
USER nextjs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user