FROM python:3.12-slim-bullseye

WORKDIR /app
RUN pip install --no-cache-dir flask gunicorn cryptography
COPY static/ /app/static/
COPY templates/ /app/templates/
COPY app.py /app

CMD [ "gunicorn", "-w", "4", "app:app", "-b", "0.0.0.0:5000" ]
