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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user