mirror of
https://github.com/suitenumerique/docs
synced 2026-04-21 13:37:20 +00:00
🐛(docker-compose) run node container as logged-in user
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.
This commit is contained in:
parent
b7b3c6c058
commit
125284456f
1 changed files with 1 additions and 0 deletions
|
|
@ -142,6 +142,7 @@ services:
|
|||
- ".:/app"
|
||||
|
||||
y-webrtc-signaling:
|
||||
user: ${DOCKER_USER:-1000}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./src/frontend/Dockerfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue