From a259591d76649af7d89f57f5731b32c8757a9017 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Sat, 8 Nov 2025 20:46:09 -0300 Subject: [PATCH] fix: fixes broken docker image --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9586564..246ba9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,12 @@ ## ------------------------------- Builder Stage ------------------------------ ## FROM python:3.12-slim-bookworm AS builder +RUN apt-get update && apt-get install -y --no-install-recommends \ + gcc \ + build-essential \ + python3-dev \ + && apt-get clean && rm -rf /var/lib/apt/lists/* + WORKDIR /app RUN pip install poetry==2.2.1 @@ -13,12 +19,6 @@ RUN poetry sync --no-root --without dev ## ------------------------------- Final Stage ------------------------------ ## FROM python:3.12-slim-bookworm AS production -RUN apt-get update && apt-get install -y --no-install-recommends \ - gcc \ - build-essential \ - python3-dev \ - && apt-get clean && rm -rf /var/lib/apt/lists/* - WORKDIR /app COPY --from=builder /app/.venv .venv