We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e3e4e7 commit 05e6684Copy full SHA for 05e6684
Dockerfile
@@ -1,5 +1,13 @@
1
FROM python:3.12-slim as builder
2
-RUN pip install poetry
+
3
+RUN apt-get update && apt-get install -y curl
4
5
+# Install Poetry (latest) using the official install script
6
+RUN curl -sSL https://install.python-poetry.org | python3 -
7
+ENV PATH="/root/.local/bin:$PATH"
8
9
+RUN poetry self add poetry-plugin-export
10
11
COPY pyproject.toml .
12
COPY poetry.lock .
13
RUN poetry export --format requirements.txt --output /root/requirements.txt
0 commit comments