diff --git a/Dockerfile b/Dockerfile index a32a25b..9231c75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,11 @@ RUN apt-get install python3-poetry -y RUN poetry -vvv --version -COPY . ${WORKING_DIR} -COPY pyproject.toml . - +COPY pyproject.toml poetry.lock ./ RUN poetry install + +COPY . ${WORKING_DIR} + RUN poetry run task build CMD ["poetry", "run", "task", "start"] \ No newline at end of file