Download Dockerfile from Unmid/slm: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/Unmid/slm/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Unmid/slm/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Unmid/slm/resolve/main/Dockerfile
297 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y build-essential git && rm -rf /var/lib/apt/lists/* | |
| RUN pip install --no-cache-dir \ | |
| torch \ | |
| transformers \ | |
| accelerate \ | |
| duckduckgo-search \ | |
| gradio | |
| WORKDIR /app | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |