Skip to content

Commit

Permalink
fix: Fix USER node
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 21, 2022
1 parent 80ba020 commit c4c1933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ services:
ports:
- "3000:3000"
tty: true
user: "node"
volumes:
- ./buildchain:/var/www/project/buildchain:cached
- ./buildchain/node_modules:/var/www/project/buildchain/node_modules:delegated
Expand Down
2 changes: 2 additions & 0 deletions docker-config/node-dev-vite/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM nystudio107/node-dev-base:16-alpine

USER node

WORKDIR /var/www/project/buildchain/

# Run our webpack build in debug mode
Expand Down

0 comments on commit c4c1933

Please sign in to comment.