FROM python:3.12 WORKDIR /app RUN pip install flask gunicorn COPY . . # This ensures Flask knows where the templates are ENV FLASK_APP=main.py CMD ["gunicorn", "--bind", "0.0.0.0:7860", "main:app"]