Skip to content

Commit

Permalink
switched to non-root user
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalii-codefresh committed Sep 26, 2024
1 parent 76118fc commit f07fb9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ ENV LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;

EXPOSE 80

USER node:node

ENTRYPOINT []

# run application
CMD ["node", "/debugger/src/app.js"]

0 comments on commit f07fb9c

Please sign in to comment.