Skip to content

Commit

Permalink
fix: add nonroot user to ui dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
carlmontanari committed Sep 3, 2024
1 parent 740a1ec commit f341ae8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/ui.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ WORKDIR /clabernetes

COPY --from=builder --chown=nonroot:nonroot /clabernetes/.next/standalone ./
COPY --from=builder --chown=nonroot:nonroot /clabernetes/.next/static ./.next/static
USER nonroot:nonroot

CMD ["server.js"]

0 comments on commit f341ae8

Please sign in to comment.