30 lines
567 B
YAML
30 lines
567 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
frontend-dev:
|
|
container_name: hello_world_client
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
tty: true
|
|
volumes:
|
|
- './frontend/.:/app:z'
|
|
- '/app/node_modules'
|
|
ports:
|
|
- 3000:3000
|
|
environment:
|
|
- CHOKIDAR_USEPOLLING=true
|
|
backend-dev:
|
|
container_name: backend_bt
|
|
build:
|
|
context: ./backend
|
|
dockerfile: Dockerfile
|
|
tty: true
|
|
volumes:
|
|
- ./backend:/usr/src/app/
|
|
ports:
|
|
- 5000:5000
|
|
environment:
|
|
PORT: 5000
|
|
FLASK_DEBUG: 1
|
|
|