fix
parent
b3509d698d
commit
a2ed5a6732
|
@ -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
|
||||||
|
|
|
@ -41,6 +41,8 @@ Fastapi веб приложение реализующее api для общеп
|
||||||
Перейдите в каталог
|
Перейдите в каталог
|
||||||
> `$ cd fastfood`
|
> `$ cd fastfood`
|
||||||
|
|
||||||
|
> `cp example.env .env`
|
||||||
|
|
||||||
Запуск/остановка образов:
|
Запуск/остановка образов:
|
||||||
|
|
||||||
- Запуск FAstAPI приложения
|
- Запуск FAstAPI приложения
|
||||||
|
|
|
@ -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'
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue