Spaces:
Sleeping
Sleeping
Download Dockerfile from Davizig10jojo/Stable-Diffusion: direct link, hf CLI and curl.
- Browser
- Download file 300 Bytes
-
https://huggingface.co/spaces/Davizig10jojo/Stable-Diffusion/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Davizig10jojo/Stable-Diffusion/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Davizig10jojo/Stable-Diffusion/resolve/main/Dockerfile
300 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu && \ | |
| pip install --no-cache-dir fastapi uvicorn diffusers transformers accelerate sentencepiece | |
| COPY app.py . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |