Spaces:
Runtime error
Runtime error
Download Dockerfile from nyanko7/sd-diffusers-webui: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/spaces/nyanko7/sd-diffusers-webui/resolve/4508ef4bf6205c85164c75438c49d86ad31a066c/Dockerfile
- Command line
-
hf download hf://spaces/nyanko7/sd-diffusers-webui@4508ef4bf6205c85164c75438c49d86ad31a066c/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/nyanko7/sd-diffusers-webui/resolve/4508ef4bf6205c85164c75438c49d86ad31a066c/Dockerfile
385 Bytes
| # Dockerfile Public T4 | |
| FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel | |
| ENV DEBIAN_FRONTEND noninteractive | |
| WORKDIR /content | |
| RUN pip install numexpr einops transformers k_diffusion safetensors gradio diffusers xformers | |
| ADD . . | |
| RUN adduser --disabled-password --gecos '' user | |
| RUN chown -R user:user /content | |
| RUN chmod -R 777 /content | |
| USER user | |
| EXPOSE 7860 | |
| CMD python /content/app.py | |