Removed some debug files and also added the poetry export plugin to Dockerfile since poetry 2.0 no longer has it by default

This commit is contained in:
Carlos-Mesquita
2025-01-06 11:39:23 +00:00
parent fb73213d63
commit 8550b520e1
3 changed files with 2 additions and 14 deletions

View File

@@ -2,6 +2,8 @@ FROM python:3.11-slim as requirements-stage
WORKDIR /tmp
RUN pip install poetry
COPY pyproject.toml ./poetry.lock* /tmp/
# https://python-poetry.org/docs/cli#export
RUN poetry self add poetry-plugin-export
RUN poetry export -f requirements.txt --output requirements.txt --without-hashes