diff --git a/DOCKERFILE b/DOCKERFILE new file mode 100644 index 0000000..636dedd --- /dev/null +++ b/DOCKERFILE @@ -0,0 +1,4 @@ +FROM python:3 +WORKDIR /usr/src/ +COPY requirements.txt /usr/src/requirements.txt +RUN pip install -r requirements.txt diff --git a/compose.yml b/compose.yml index c2e9f6a..4a27c7b 100644 --- a/compose.yml +++ b/compose.yml @@ -5,7 +5,7 @@ services: command: python -m uvicorn app.main:app --host 0.0.0.0 --port 80 biuld: context: . - dockerfile: Dockerfile_app + dockerfile: DOCKERFILE volumes: - ./app:/python - ./unizeug:/unizeug @@ -42,7 +42,7 @@ services: command: python /python/init.py biuld: context: . - dockerfile: Dockerfile_scaner + dockerfile: DOCKERFILE volumes: - ./app:/python - ./unizeug