Dermatrix / Dockerfile
Inquisiter07's picture
Fix: Set FLASK_APP=app:app for Hugging Face
98fed04
raw
history blame contribute delete
232 Bytes
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"]