Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -7
Dockerfile
CHANGED
|
@@ -6,9 +6,6 @@
|
|
| 6 |
FROM nvidia/cuda:11.7.1-base-ubuntu22.04
|
| 7 |
ENV DEBIAN_FRONTEND noninteractive
|
| 8 |
|
| 9 |
-
RUN source venv/bin/activate
|
| 10 |
-
RUN pip install httpx==0.24.1
|
| 11 |
-
|
| 12 |
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 && rm -rf /var/lib/apt/lists/*
|
| 13 |
|
| 14 |
RUN adduser --disabled-password --gecos '' user
|
|
@@ -16,11 +13,9 @@ RUN mkdir /content && chown -R user:user /content
|
|
| 16 |
WORKDIR /content
|
| 17 |
USER user
|
| 18 |
|
| 19 |
-
RUN
|
| 20 |
-
RUN source venv/bin/activate
|
| 21 |
-
RUN pip install httpx==0.24.1
|
| 22 |
RUN pip install torchmetrics==0.11.4
|
| 23 |
-
RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.
|
| 24 |
RUN pip install --pre triton
|
| 25 |
RUN pip install numexpr
|
| 26 |
|
|
|
|
| 6 |
FROM nvidia/cuda:11.7.1-base-ubuntu22.04
|
| 7 |
ENV DEBIAN_FRONTEND noninteractive
|
| 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 && rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
RUN adduser --disabled-password --gecos '' user
|
|
|
|
| 13 |
WORKDIR /content
|
| 14 |
USER user
|
| 15 |
|
| 16 |
+
RUN pip3 install --upgrade pip
|
|
|
|
|
|
|
| 17 |
RUN pip install torchmetrics==0.11.4
|
| 18 |
+
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
|
| 19 |
RUN pip install --pre triton
|
| 20 |
RUN pip install numexpr
|
| 21 |
|