Skip to content

Commit

Permalink
fix: permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yongenaelf committed Aug 25, 2024
1 parent f748562 commit dab4c4b
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 @@ -15,6 +15,8 @@ COPY ./.next/static ./.next/static

ENV HOSTNAME=0.0.0.0

USER root
RUN chown -R node:node /app/.next
USER node

# server.js is created by next build from the standalone output
Expand Down

0 comments on commit dab4c4b

Please sign in to comment.