1 FROM python:3.10-alpine AS base
3 RUN apk update && apk add --no-cache \
5 COPY requirements.txt requirements.txt
6 RUN --mount=type=cache,target=/root/.cache/pip \
7 pip install --no-cache-dir -r requirements.txt
14 RUN apk add --no-cache gettext
15 RUN --mount=type=cache,target=/root/.cache/pip \
16 pip install --no-cache-dir coverage
21 RUN --mount=type=cache,target=/root/.cache/pip \
22 pip install --no-cache-dir gunicorn psycopg2-binary