FROM python:3.11 WORKDIR /app COPY . . RUN pip install --upgrade pip && pip install -r requirements.txt EXPOSE 7860 # Fix here 👇 ENV FLASK_APP=app:app ENV FLASK_RUN_HOST=0.0.0.0 ENV FLASK_RUN_PORT=7860 CMD ["flask", "run"]