update poetry to v2.1.1

This commit is contained in:
Aarni Halinen
2025-03-26 20:10:23 +02:00
parent 1331eeb1d7
commit 41fd3043d0
6 changed files with 310 additions and 259 deletions
+2 -2
View File
@@ -2,11 +2,11 @@ FROM python:3.12.9-slim-bullseye AS builder
ENV PYTHONUNBUFFERED 1
COPY . ./
ENV POETRY_VERSION=2.0.1
ENV POETRY_VERSION=2.1.1
RUN pip install "poetry==$POETRY_VERSION"
RUN poetry self add poetry-plugin-export
RUN poetry export --without-hashes > requirements.txt
RUN poetry export --without-hashes --format=requirements.txt --output requirements.txt
FROM python:3.12.9-slim-bullseye AS server