Spaces:
Sleeping
Sleeping
| # Hugging Face Docker Space for the custom StudyHub frontend. | |
| # README metadata for the Space must include: sdk: docker and app_port: 7860 | |
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV HF_HOME=/app/.cache/huggingface \ | |
| PORT=7860 \ | |
| PYTHONUNBUFFERED=1 | |
| COPY requirements-web.txt . | |
| RUN pip install --no-cache-dir -r requirements-web.txt | |
| COPY studyhub ./studyhub | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "studyhub.web.server"] | |