1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

ADD user to docker-compose (#6085)

This commit is contained in:
Saro Vindigni 2019-01-18 12:03:48 +01:00 committed by Tim Neutkens
parent 53f2d88566
commit c957c9d1a0
3 changed files with 3 additions and 0 deletions

View file

@ -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""

View file

@ -1,6 +1,7 @@
version: '3.5'
services:
server:
user: 1000:1000
volumes:
- .:/app
command: sh -c "yarn --production=false && yarn dev"

View file

@ -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"'