mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
2fdd43c307
* ADD with-firebase-hosting-and-docker example * Improve doc
14 lines
394 B
YAML
14 lines
394 B
YAML
version: '3.5'
|
|
services:
|
|
server:
|
|
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'
|