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

15 lines
414 B
YAML
Raw Normal View History

version: '3.5'
services:
server:
2019-01-18 11:03:48 +00:00
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'