develop
Сергей Ванюшкин 2024-02-05 23:30:18 +03:00
parent b3509d698d
commit a2ed5a6732
4 changed files with 2 additions and 8 deletions

View File

@ -10,8 +10,6 @@ WORKDIR /usr/src/fastfood
COPY . . COPY . .
COPY ./example.env ./.env
RUN touch /usr/src/RUN_IN_DOCKER RUN touch /usr/src/RUN_IN_DOCKER
RUN poetry install RUN poetry install

View File

@ -41,6 +41,8 @@ Fastapi веб приложение реализующее api для общеп
Перейдите в каталог Перейдите в каталог
> `$ cd fastfood` > `$ cd fastfood`
> `cp example.env .env`
Запуск/остановка образов: Запуск/остановка образов:
- Запуск FAstAPI приложения - Запуск FAstAPI приложения

View File

@ -55,9 +55,6 @@ services:
redis: redis:
condition: service_healthy condition: service_healthy
volumes:
- .:/usr/src/fastfood
restart: always restart: always
command: /bin/bash -c 'poetry run python /usr/src/fastfood/manage.py --run-test-server' command: /bin/bash -c 'poetry run python /usr/src/fastfood/manage.py --run-test-server'

View File

@ -55,9 +55,6 @@ services:
redis: redis:
condition: service_healthy condition: service_healthy
volumes:
- .:/usr/src/fastfood
restart: always restart: always
command: /bin/bash -c 'poetry run pytest -vv' command: /bin/bash -c 'poetry run pytest -vv'