FROM python:3.9.16

WORKDIR /app

COPY . .

# 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

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