Spaces:
Sleeping
Sleeping
Download Dockerfile from LVKinyanjui/QueryYourDocs: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/LVKinyanjui/QueryYourDocs/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/LVKinyanjui/QueryYourDocs/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/LVKinyanjui/QueryYourDocs/resolve/main/Dockerfile
300 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| ARG HF_HOME=/app/.cache | |
| RUN mkdir ${HF_HOME} \ | |
| && chmod 775 ${HF_HOME} | |
| ENV HF_HOME=${HF_HOME} | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Run the application. | |
| CMD streamlit run inference_main.py --server.port 7860 | |