Skip to content

Commit 3edf754

Browse files
committed
Start building from the full python 3.12 version
1 parent daf7850 commit 3edf754

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12-slim AS builder
1+
FROM python:3.12 AS builder
22

33
# --- Install Poetry ---
44
ARG POETRY_VERSION=1.8
@@ -16,11 +16,6 @@ RUN pip install "poetry==${POETRY_VERSION}"
1616

1717
WORKDIR /usr/src/app
1818

19-
# Install gcc and python3-dev for native code
20-
RUN apt-get update \
21-
&& apt-get install -y --no-install-recommends gcc python3-dev \
22-
&& rm -rf /var/lib/apt/lists/*
23-
2419
# --- Reproduce the environment ---
2520
# You can comment the following two lines if you prefer to manually install
2621
# the dependencies from inside the container.

0 commit comments

Comments
 (0)