Want to run this thing with docker-compose

This commit is contained in:
cami 2021-05-26 00:47:11 +02:00
parent 4f24197e30
commit 5f42b54a8a
2 changed files with 13 additions and 15 deletions

View file

@ -14,17 +14,16 @@ services:
- 3000:3000 - 3000:3000
environment: environment:
- CHOKIDAR_USEPOLLING=true - CHOKIDAR_USEPOLLING=true
backend-dev: # backend-dev:
container_name: backend_bt # container_name: backend_bt
build: # build:
context: ./backend # context: ./backend
dockerfile: Dockerfile # dockerfile: Dockerfile
tty: true # tty: true
volumes: # volumes:
- ./backend:/usr/src/app/ # - ./backend:/usr/src/app/
ports: # ports:
- 5000:5000 # - 5000:5000
environment: # environment:
PORT: 5000 # PORT: 5000
FLASK_DEBUG: 1 # FLASK_DEBUG: 1

View file

@ -1,3 +1,2 @@
cd frontend
podman-compose down podman-compose down
podman-compose up podman-compose up