piecefinder / Dockerfile
Steph254's picture
Upload 12 files
203a0a4 verified
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
ENV FLASK_RUN_PORT=7860 # Hugging Face Spaces default port
EXPOSE 7860
CMD ["flask", "run"]