Spaces:
Runtime error
Runtime error
Commit
·
89c20a9
1
Parent(s):
8608fae
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
@@ -10,6 +10,11 @@ COPY ./requirements.txt /code/requirements.txt
|
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
|
|
|
|
|
|
|
|
|
|
13 |
# Set up a new user named "user" with user ID 1000
|
14 |
RUN useradd -m -u 1000 user
|
15 |
# Switch to the "user" user
|
|
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
+
RUN git clone https://github.com/CompVis/latent-diffusion.git
|
14 |
+
|
15 |
+
# Install latent-diffusion in editable mode
|
16 |
+
RUN pip install -e ./latent-diffusion
|
17 |
+
|
18 |
# Set up a new user named "user" with user ID 1000
|
19 |
RUN useradd -m -u 1000 user
|
20 |
# Switch to the "user" user
|