FROM python:3.9.5-slim

WORKDIR /usr/src/app

COPY requirements.txt ./

RUN pip install --no-cache-dir -r requirements.txt

# We don't want to copy . as we're mounting the dir directly

CMD ["python", "generate.py"]