FROM python:3.12-bookworm AS base WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt FROM base AS app COPY . . CMD ["python", "main.py"]