From c957c9d1a0843a52a1cbc4b04c65b5dcd99c964b Mon Sep 17 00:00:00 2001 From: Saro Vindigni Date: Fri, 18 Jan 2019 12:03:48 +0100 Subject: [PATCH] ADD user to docker-compose (#6085) --- .../with-firebase-hosting-and-docker/docker-compose.deploy.yml | 1 + examples/with-firebase-hosting-and-docker/docker-compose.dev.yml | 1 + .../with-firebase-hosting-and-docker/docker-compose.serve.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/examples/with-firebase-hosting-and-docker/docker-compose.deploy.yml b/examples/with-firebase-hosting-and-docker/docker-compose.deploy.yml index 2f8f64a7..9f757434 100644 --- a/examples/with-firebase-hosting-and-docker/docker-compose.deploy.yml +++ b/examples/with-firebase-hosting-and-docker/docker-compose.deploy.yml @@ -1,6 +1,7 @@ version: '3.5' services: server: + user: 1000:1000 volumes: - .:/app command: sh -c "yarn --production=false && yarn clean && yarn deploy --project "$FB_PROJECTID"" diff --git a/examples/with-firebase-hosting-and-docker/docker-compose.dev.yml b/examples/with-firebase-hosting-and-docker/docker-compose.dev.yml index 05fd8db7..6afaa367 100644 --- a/examples/with-firebase-hosting-and-docker/docker-compose.dev.yml +++ b/examples/with-firebase-hosting-and-docker/docker-compose.dev.yml @@ -1,6 +1,7 @@ version: '3.5' services: server: + user: 1000:1000 volumes: - .:/app command: sh -c "yarn --production=false && yarn dev" diff --git a/examples/with-firebase-hosting-and-docker/docker-compose.serve.yml b/examples/with-firebase-hosting-and-docker/docker-compose.serve.yml index 1ac4e755..b723d1de 100644 --- a/examples/with-firebase-hosting-and-docker/docker-compose.serve.yml +++ b/examples/with-firebase-hosting-and-docker/docker-compose.serve.yml @@ -1,6 +1,7 @@ version: '3.5' services: server: + user: 1000:1000 volumes: - .:/app command: sh -c 'yarn --production=false && yarn clean && yarn build-app && yarn serve --project "$FB_PROJECTID"'