diff --git a/Dockerfile b/Dockerfile index 7672013..05141ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,4 @@ COPY ./requirements.txt /app/requirements.txt RUN python -m pip install -r requirements.txt -COPY ./app/ /app/app/ - CMD flask run -h 0.0.0.0 -p $PORT diff --git a/docker-compose.yaml b/docker-compose.yaml index 9f1c1cd..b3d9a76 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,3 +10,5 @@ services: PORT: "12402" ports: - "12402:12402" + volumes: + - ./app:/app/app