Skip to content

Commit

Permalink
change CHMOD line order
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Oct 17, 2024
1 parent aed9f00 commit dddf3f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/apps/site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ COPY --from=builder /app/frontend/apps/site/public ./frontend/apps/site/public

RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs
USER nextjs

RUN chmod -R 655 /frontend/apps/site/.next
USER nextjs

EXPOSE 3000

Expand Down

0 comments on commit dddf3f3

Please sign in to comment.