Skip to content

Commit

Permalink
chore: try numeric user so kubernetes can actually check whether cont…
Browse files Browse the repository at this point in the history
…ainer is run ad non-root
  • Loading branch information
spuxx1701 committed May 16, 2023
1 parent 2dcd101 commit a5f4ef4
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 @@ -17,7 +17,7 @@ COPY . .
RUN npm run build

# Run as non-root
USER node
USER 1000

# Start the server using the production build
CMD [ "node", "dist/main.js" ]

0 comments on commit a5f4ef4

Please sign in to comment.