1234567891011121314151617181920212223242526 |
- version: '3'
- services:
- back_node:
- build:
- context: .
- dockerfile: Dockerfile_back
- command:
- sh -c "yarn install && yarn run api:start"
- image: backapp
- ports:
- - "5000:5000"
- volumes:
- - ./:/usr/src/app
- environment:
- NODE_ENV: production
- SERVE_CLIENT: $SERVE_CLIENT
- front_vue:
- build:
- context: .
- dockerfile: Dockerfile_front
- image: frontwebapp
- ports:
- - "80:80"
|