benchmark / Dockerfile
Mushari440's picture
Add gated model submission: FastAPI backend + HF OAuth sign-in + submit form
3eef8f8 verified
Raw
History Blame Contribute Delete
218 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY index.html app.py ./
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]