🐛(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:
Samuel Paccoud - DINUM
2024-05-20 22:51:22 +02:00
committed by Samuel Paccoud
parent b7b3c6c058
commit 125284456f

View File

@@ -142,6 +142,7 @@ services:
- ".:/app"
y-webrtc-signaling:
user: ${DOCKER_USER:-1000}
build:
context: .
dockerfile: ./src/frontend/Dockerfile