Spaces:
Runtime error
Runtime error
Download Dockerfile from imjunaidafzal/sd-diffusers-webui: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/spaces/imjunaidafzal/sd-diffusers-webui/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/imjunaidafzal/sd-diffusers-webui/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/imjunaidafzal/sd-diffusers-webui/resolve/main/Dockerfile
391 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==0.20 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 | |