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.deploy.yml
Saro Vindigni 2fdd43c307 Create with-firebase-hosting-and-docker example (#5373)
* ADD with-firebase-hosting-and-docker example

* Improve doc
2018-12-10 16:19:57 +01:00

12 lines
327 B
YAML

version: '3.5'
services:
server:
volumes:
- .:/app
command: sh -c "yarn --production=false && yarn clean && yarn deploy --project "$FB_PROJECTID""
environment:
NODE_ENV: '${NODE_ENV}'
GOOGLE_APPLICATION_CREDENTIALS: '${GOOGLE_APPLICATION_CREDENTIALS}'
FIREBASE_TOKEN: '${FIREBASE_TOKEN}'