Spaces:
Running on Zero
Running on Zero
fix: clone with submodules
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -5,7 +5,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 5 |
rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
# Build stable-diffusion.cpp from source (latest, with Anima support)
|
| 8 |
-
RUN git clone --depth 1 https://github.com/leejet/stable-diffusion.cpp /tmp/sdcpp && \
|
| 9 |
cd /tmp/sdcpp && mkdir build && cd build && \
|
| 10 |
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
| 11 |
-DSD_BUILD_SHARED_LIBS=OFF \
|
|
|
|
| 5 |
rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
# Build stable-diffusion.cpp from source (latest, with Anima support)
|
| 8 |
+
RUN git clone --depth 1 --recurse-submodules https://github.com/leejet/stable-diffusion.cpp /tmp/sdcpp && \
|
| 9 |
cd /tmp/sdcpp && mkdir build && cd build && \
|
| 10 |
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
| 11 |
-DSD_BUILD_SHARED_LIBS=OFF \
|