1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-firebase-hosting-and-docker/docker-compose.serve.yml
2019-01-18 12:03:48 +01:00

15 lines
414 B
YAML

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"'
environment:
NODE_ENV: '${NODE_ENV}'
GOOGLE_APPLICATION_CREDENTIALS: '${GOOGLE_APPLICATION_CREDENTIALS}'
FIREBASE_TOKEN: '${FIREBASE_TOKEN}'
ports:
- '3000:3000'
- '5000:5000'