FROM python:3.9.16 WORKDIR /app # If we want to use the alpine image, we need these packages for pytest # RUN apk update && apk add python3-dev gcc libc-dev libffi-dev ENV PYTHONDONTWRITEBYTECODE=1 COPY requirements.txt requirements.txt COPY requirements-dev.txt requirements-dev.txt RUN pip install -r requirements.txt RUN pip install -r requirements-dev.txt