Merge pull request #23 from HideyoshiSolutions/fix/fixes-docker-image

fix: fixes broken docker image
This commit is contained in:
2025-11-08 20:16:49 -03:00
committed by GitHub

View File

@@ -13,6 +13,14 @@ RUN poetry sync --no-root --without dev
## ------------------------------- Final Stage ------------------------------ ## ## ------------------------------- Final Stage ------------------------------ ##
FROM python:3.12-slim-bookworm AS production FROM python:3.12-slim-bookworm AS production
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
python3-dev \
libffi-dev \
musl-dev \
libssl-dev \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app WORKDIR /app
COPY --from=builder /app/.venv .venv COPY --from=builder /app/.venv .venv