Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -6,8 +6,6 @@ ENV DEBIAN_FRONTEND noninteractive
|
|
| 6 |
|
| 7 |
WORKDIR /content
|
| 8 |
|
| 9 |
-
RUN chmod -R 777 /content
|
| 10 |
-
|
| 11 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
| 12 |
RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl
|
| 13 |
RUN pip install --pre triton
|
|
@@ -42,7 +40,8 @@ ADD https://github.com/camenduru/webui-docker/raw/main/shared-ui-config.json /co
|
|
| 42 |
ADD https://huggingface.co/ckpt/anything-v4.5-vae-swapped/resolve/main/anything-v4.5-vae-swapped.safetensors /content/stable-diffusion-webui/models/Stable-diffusion/anything-v4.5-vae-swapped.safetensors
|
| 43 |
|
| 44 |
RUN adduser --disabled-password --gecos '' user
|
| 45 |
-
|
|
|
|
| 46 |
USER user
|
| 47 |
|
| 48 |
EXPOSE 7860
|
|
|
|
| 6 |
|
| 7 |
WORKDIR /content
|
| 8 |
|
|
|
|
|
|
|
| 9 |
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 && pip3 install --upgrade pip
|
| 10 |
RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230119.A10G-cp310-cp310-linux_x86_64.whl
|
| 11 |
RUN pip install --pre triton
|
|
|
|
| 40 |
ADD https://huggingface.co/ckpt/anything-v4.5-vae-swapped/resolve/main/anything-v4.5-vae-swapped.safetensors /content/stable-diffusion-webui/models/Stable-diffusion/anything-v4.5-vae-swapped.safetensors
|
| 41 |
|
| 42 |
RUN adduser --disabled-password --gecos '' user
|
| 43 |
+
RUN chown -R user:user /content
|
| 44 |
+
RUN chmod -R 777 /content
|
| 45 |
USER user
|
| 46 |
|
| 47 |
EXPOSE 7860
|