diff --git a/Containerfile b/Containerfile index 8725b35..64d47a0 100644 --- a/Containerfile +++ b/Containerfile @@ -1,9 +1,12 @@ -FROM python:3.12-slim +FROM python:3.12-alpine WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN apk add --no-cache --virtual .build gcc musl-dev libffi-dev openssl-dev && \ + pip install --no-cache-dir --upgrade pip && \ + pip install --no-cache-dir -r requirements.txt && \ + apk del .build COPY src/ /app/src/