Download Dockerfile from Yashkute/SPPU-Student-AI-Assistent: direct link, hf CLI and curl.
- Browser
- Download file 334 Bytes
-
https://huggingface.co/spaces/Yashkute/SPPU-Student-AI-Assistent/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Yashkute/SPPU-Student-AI-Assistent/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Yashkute/SPPU-Student-AI-Assistent/resolve/main/Dockerfile
334 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| gcc \ | |
| g++ \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY . . | |
| RUN pip install --no-cache-dir -r backend/requirements.txt | |
| RUN pip install --no-cache-dir gdown | |
| RUN chmod +x backend/startup.sh | |
| EXPOSE 7860 | |
| CMD ["/bin/bash", "backend/startup.sh"] | |