DIS_IPL / Dockerfile
Jay-Rajput's picture
DIS IPL 2026
60e9d75
raw
history blame contribute delete
328 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV PYTHONUNBUFFERED=1
ENV PIP_NO_CACHE_DIR=1
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 7860
# Hugging Face Spaces sets PORT; default 7860 for local Docker
CMD exec gunicorn --bind "0.0.0.0:${PORT:-7860}" --workers 1 --threads 4 --timeout 120 "app:app"