Skip to content

Commit

Permalink
Fix path for modifying ownership in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoenash committed Aug 16, 2024
1 parent 8636161 commit 673aea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ COPY --from=builder /app/logs ./logs
# copy .env.production to runner so that runtime can have new env vars from repo if needed
#COPY --from=builder /app/.env.production .env.production
USER root
RUN chgrp -R 0 ./next/ && chmod g+w -R ./next/
RUN chgrp -R 0 ./next/ && chmod g+w -R ./.next/
RUN chgrp -R 0 ./logs/ && chmod g+w -R ./logs/
USER default

Expand Down

0 comments on commit 673aea2

Please sign in to comment.