FROM python:3.10 WORKDIR /src COPY ./requirements.txt ./src/requirements.txt RUN set -eux \ && apk add --no-cache --virtual .build-deps build-base \ libressl-dev libffi-dev gcc musl-dev python3-dev \ postgresql-dev \ && pip install --upgrade pip setuptools wheel \ && pip install -r /src/requirements.txt \ COPY . /src/