diff --git a/Dockerfile b/Dockerfile index 49b9991..1ee3a22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,9 @@ WORKDIR /app # Export poetry dependencies to file RUN pip install --upgrade pip -COPY poetry.lock pyproject.toml ./ RUN pip install poetry poetry-plugin-export +COPY poetry.lock pyproject.toml ./ +RUN poetry lock RUN poetry export --without-hashes --format requirements.txt --output /app/requirements.txt #####################