We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc15a26 commit 42f11d1Copy full SHA for 42f11d1
Dockerfile
@@ -1,6 +1,5 @@
1
FROM python:3.13.2-slim AS base
2
WORKDIR /usr/src
3
-COPY . /usr/src/
4
5
FROM base AS scaffold
6
RUN apt-get update \
@@ -11,11 +10,14 @@ RUN apt-get update \
11
10
&& pip install --upgrade pip
12
13
FROM scaffold AS dependencies
14
-RUN pip install poetry==1.5.0 \
+COPY pyproject.toml poetry.lock ./
+RUN pip install poetry==2.0.1 \
15
&& poetry config virtualenvs.create false \
16
- && poetry install --no-interaction --no-ansi
+ && poetry install --no-root --no-interaction --no-ansi
17
18
FROM dependencies AS final
19
-ENV PYTHONDONTWRITEBYTECODE 1
20
-ENV PYTHONUNBUFFERED 1
+ENV PYTHONDONTWRITEBYTECODE=1
+ENV PYTHONUNBUFFERED=1
21
+
22
+COPY . /usr/src/
23
RUN chmod +x start.sh
0 commit comments