Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -14,7 +14,6 @@ RUN apt-get update && apt-get install -y \
|
|
14 |
&& rm -rf /var/lib/apt/lists/* \
|
15 |
&& git lfs install
|
16 |
|
17 |
-
COPY Fooocus .
|
18 |
|
19 |
WORKDIR /code
|
20 |
|
@@ -48,11 +47,11 @@ WORKDIR $HOME/app
|
|
48 |
|
49 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
50 |
|
51 |
-
RUN
|
52 |
-
pip install --no-cache-dir -r /app/requirements_versions.txt
|
53 |
-
# git clone https://github.com/lllyasviel/Fooocus . && \
|
54 |
# pin to a specific commit
|
55 |
-
|
|
|
|
|
56 |
|
57 |
|
58 |
#COPY auth.py $HOME/modules/auth.py
|
|
|
14 |
&& rm -rf /var/lib/apt/lists/* \
|
15 |
&& git lfs install
|
16 |
|
|
|
17 |
|
18 |
WORKDIR /code
|
19 |
|
|
|
47 |
|
48 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
49 |
|
50 |
+
RUN git clone https://github.com/lllyasviel/Fooocus . && \
|
|
|
|
|
51 |
# pin to a specific commit
|
52 |
+
git checkout fc3588875759328d715fa07cc58178211a894386 && \
|
53 |
+
pip install --no-cache-dir /app/xformers==0.0.20 /app/triton==2.0.0 /app/torch==2.0.1 /app/torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118 && \
|
54 |
+
pip install --no-cache-dir -r /app/requirements_versions.txt
|
55 |
|
56 |
|
57 |
#COPY auth.py $HOME/modules/auth.py
|