Spaces:
Runtime error
Runtime error
pip upgrade happens later inside the venv; used git config to ignore detached head warnings
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -33,11 +33,7 @@ RUN apt-get update -y \
|
|
33 |
libssl-dev \
|
34 |
libffi-dev \
|
35 |
aria2 \
|
36 |
-
\
|
37 |
-
&& pip3 install --upgrade pip \
|
38 |
-
\
|
39 |
&& git lfs install \
|
40 |
-
\
|
41 |
&& apt-get clean autoclean \
|
42 |
&& apt-get autoremove --yes \
|
43 |
&& rm -rf /var/lib/apt/lists/*
|
@@ -79,6 +75,9 @@ WORKDIR /app
|
|
79 |
COPY --chown=user:user pyproject.toml poetry.lock /app/
|
80 |
RUN poetry install
|
81 |
|
|
|
|
|
|
|
82 |
# AUTOMATIC1111' WebUI
|
83 |
RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /app/stable-diffusion-webui \
|
84 |
&& (cd /app/stable-diffusion-webui && git checkout 5ef669de080814067961f28357256e8fe27544f4)
|
|
|
33 |
libssl-dev \
|
34 |
libffi-dev \
|
35 |
aria2 \
|
|
|
|
|
|
|
36 |
&& git lfs install \
|
|
|
37 |
&& apt-get clean autoclean \
|
38 |
&& apt-get autoremove --yes \
|
39 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
75 |
COPY --chown=user:user pyproject.toml poetry.lock /app/
|
76 |
RUN poetry install
|
77 |
|
78 |
+
# turn the detached message off
|
79 |
+
RUN git config --global advice.detachedHead false
|
80 |
+
|
81 |
# AUTOMATIC1111' WebUI
|
82 |
RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /app/stable-diffusion-webui \
|
83 |
&& (cd /app/stable-diffusion-webui && git checkout 5ef669de080814067961f28357256e8fe27544f4)
|