From 004aefa206980acea5d20892951fa3f220314432 Mon Sep 17 00:00:00 2001 From: George Butskivsky Date: Wed, 15 May 2024 17:26:41 +0300 Subject: [PATCH] modified: Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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