Spaces:
Sleeping
Sleeping
Download Dockerfile from aak007/studentchatbot: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/spaces/aak007/studentchatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aak007/studentchatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aak007/studentchatbot/resolve/main/Dockerfile
293 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY . /app | |
| RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "gunicorn --bind 0.0.0.0:${PORT:-7860} --timeout 120 app:app"] |