Skip to content

Commit

Permalink
Merge pull request #431 from bcgov/bug/docker-non-root-user
Browse files Browse the repository at this point in the history
Update Dockerfile
  • Loading branch information
barrfalk authored Dec 13, 2023
2 parents 9ade4a9 + a326c2d commit 66d30e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ RUN npm run all:ci \
&& npm run all:build \
&& npm run client:purge
EXPOSE 8000
# Non-privileged user
USER app
CMD ["npm", "run", "start"]

0 comments on commit 66d30e2

Please sign in to comment.