Spaces:
No application file
No application file
Update Dockerfile
Browse files- Dockerfile +0 -19
Dockerfile
CHANGED
@@ -1,19 +0,0 @@
|
|
1 |
-
FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04
|
2 |
-
ENV DEBIAN_FRONTEND noninteractive
|
3 |
-
|
4 |
-
WORKDIR /content
|
5 |
-
|
6 |
-
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
|
7 |
-
|
8 |
-
RUN pip install torch==1.13.1+cu113 torchvision==0.13.1+cu113 torchsde --extra-index-url https://download.pytorch.org/whl/cu113
|
9 |
-
RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.16/xformers-0.0.16+814314d.d20230118-cp310-cp310-linux_x86_64.whl
|
10 |
-
RUN pip install --pre triton
|
11 |
-
RUN pip install numexpr einops diffusers transformers k_diffusion safetensors gradio
|
12 |
-
ADD . .
|
13 |
-
RUN adduser --disabled-password --gecos '' user
|
14 |
-
RUN chown -R user:user /content
|
15 |
-
RUN chmod -R 777 /content
|
16 |
-
USER user
|
17 |
-
|
18 |
-
EXPOSE 7860
|
19 |
-
CMD python /content/app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|