Skip to content

Commit

Permalink
🐛(docker-compose) run node container as logged-in user
Browse files Browse the repository at this point in the history
Running the container as root will install npm modules with root
access rights and generate issues when running the application with
the logged in user as we do it with Docker Compose.
  • Loading branch information
sampaccoud committed May 20, 2024
1 parent 6764957 commit cb9cc2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ services:
- ".:/app"

y-webrtc-signaling:
user: ${DOCKER_USER:-1000}
build:
context: .
dockerfile: ./src/frontend/Dockerfile
Expand Down

0 comments on commit cb9cc2d

Please sign in to comment.