FROM python:3.11-slim RUN pip install --no-cache-dir flask gunicorn WORKDIR /app COPY app.py . COPY templates/ templates/ EXPOSE 8083 CMD ["gunicorn", "-b", "0.0.0.0:8083", "-w", "1", "--threads", "2", "app:app"]