From a2ed5a6732daaefa0838a70e7c37cfb3f290cf2d Mon Sep 17 00:00:00 2001 From: pi3c Date: Mon, 5 Feb 2024 23:30:18 +0300 Subject: [PATCH] fix --- Dockerfile | 2 -- README.md | 2 ++ compose_app.yml | 3 --- compose_test.yml | 3 --- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 54cdab7..09858f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,6 @@ WORKDIR /usr/src/fastfood COPY . . -COPY ./example.env ./.env - RUN touch /usr/src/RUN_IN_DOCKER RUN poetry install diff --git a/README.md b/README.md index 87ef887..ee22679 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ Fastapi веб приложение реализующее api для общеп Перейдите в каталог > `$ cd fastfood` +> `cp example.env .env` + Запуск/остановка образов: - Запуск FAstAPI приложения diff --git a/compose_app.yml b/compose_app.yml index 3d9007a..a8ad9a8 100644 --- a/compose_app.yml +++ b/compose_app.yml @@ -55,9 +55,6 @@ services: redis: condition: service_healthy - volumes: - - .:/usr/src/fastfood - restart: always command: /bin/bash -c 'poetry run python /usr/src/fastfood/manage.py --run-test-server' diff --git a/compose_test.yml b/compose_test.yml index 43cea1b..603fa54 100644 --- a/compose_test.yml +++ b/compose_test.yml @@ -55,9 +55,6 @@ services: redis: condition: service_healthy - volumes: - - .:/usr/src/fastfood - restart: always command: /bin/bash -c 'poetry run pytest -vv'