Spaces:
Running
Running
Download Dockerfile from divAIne/busy-module-text: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/divAIne/busy-module-text/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/divAIne/busy-module-text/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/divAIne/busy-module-text/resolve/main/Dockerfile
256 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir torch==2.1.0 --index-url https://download.pytorch.org/whl/cpu | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "handler.py"] | |