diff --git a/Dockerfile b/Dockerfile index 771d4b4e..7f5e2037 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim-2020-06-06 RUN apt update && apt install -y libmagic1 python3-testresources patch && rm -rf /var/lib/apt/lists/* -RUN python -m pip install --upgrade pip -COPY requirements.txt requirements.txt -RUN python -m pip install -r requirements.txt +RUN python -m pip install --upgrade pip virtualenv poetry +COPY poetry.lock poetry.lock +COPY pyproject.toml pyproject.toml +RUN poetry install COPY deploy /repo/deploy COPY tests /repo/tests COPY run-seed.sh /repo/run-seed.sh