Skip to content

Commit

Permalink
Make nextjs directory writable.
Browse files Browse the repository at this point in the history
This seems to be the only way that nextjs wants to be deployed?
  • Loading branch information
ctslater committed Oct 22, 2024
1 parent 799cd23 commit cf24fa3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ COPY --from=builder /app/.next/standalone ./
COPY --from=builder /app/.next/static ./.next/static


RUN chown -R 1000:4085 /app/.next

EXPOSE 3000

ENV PORT 3000
Expand Down

0 comments on commit cf24fa3

Please sign in to comment.