We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd78c93 commit 8e9b394Copy full SHA for 8e9b394
Dockerfile
@@ -1,10 +1,8 @@
1
-FROM python:3.12-alpine3.20 AS builder
+FROM python:3.12-slim AS builder
2
3
ENV PYTHONDONTWRITEBYTECODE=1
4
ENV PYTHONUNBUFFERED=1
5
6
-RUN apk update && apk upgrade --no-cache libcrypto3 libssl3
7
-RUN apk add --no-cache alpine-sdk linux-headers
8
RUN pip install --no-cache-dir "poetry==1.8.5"
9
RUN python3 -m venv /opt/venv
10
@@ -19,7 +17,7 @@ FROM builder AS test
19
17
RUN poetry install --with test
20
18
RUN poetry run pytest ./tests
21
22
-FROM python:3.12-alpine3.20
+FROM python:3.12-slim
23
24
25
0 commit comments