MathQ / Dockerfile
Mr-67's picture
Update Dockerfile
a6c99d1 verified
Raw History Blame Contribute Delete
197 Bytes
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"]