diff --git a/Dockerfile b/Dockerfile index 53e0153..8a35979 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,8 @@ WORKDIR /app COPY requirements.txt ./ # Install dependencies to a target directory -RUN pip install --no-cache-dir --no-deps --disable-pip-version-check --target=/app/site-packages -r requirements.txt +RUN --mount=type=cache,target=/root/.cache/pip \ + pip install --no-cache-dir --no-deps --disable-pip-version-check --target=/app/site-packages -r requirements.txt # Use Alpine as the base image for a much smaller footprint FROM python:3.13-slim