diff --git a/Dockerfile b/Dockerfile index bb76dd3..a368a32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,11 @@ FROM python:3 WORKDIR /app +ENTRYPOINT ["/app/entrypoint.py"] -RUN pip install poetry -RUN poetry config virtualenvs.create false COPY poetry.lock pyproject.toml ./ -RUN poetry install +RUN pip install poetry \ + && poetry config virtualenvs.create false \ + && poetry install COPY . ./ - -ENTRYPOINT ["./entrypoint.py"]