Spaces:
Runtime error
Runtime error
Julian Bilcke
commited on
Commit
·
cc216fb
1
Parent(s):
69f3483
up
Browse files- Dockerfile +10 -0
Dockerfile
CHANGED
|
@@ -38,6 +38,16 @@ ENV HOME=/home/user \
|
|
| 38 |
|
| 39 |
RUN pip3 install --no-cache-dir --upgrade --pre -r /code/requirements.txt
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
# Set the working directory to the user's home directory
|
| 42 |
WORKDIR $HOME/app
|
| 43 |
|
|
|
|
| 38 |
|
| 39 |
RUN pip3 install --no-cache-dir --upgrade --pre -r /code/requirements.txt
|
| 40 |
|
| 41 |
+
# Prepare the model directory
|
| 42 |
+
|
| 43 |
+
RUN mkdir -p $HOME/app/lora_weights
|
| 44 |
+
|
| 45 |
+
WORKDIR $HOME/app/lora_weights
|
| 46 |
+
|
| 47 |
+
# Download some weights
|
| 48 |
+
|
| 49 |
+
RUN curl -LJ https://drive.google.com/file/d/1_-kEVFw_LnV1J2Nho6nZt4PUbymamypK/view?usp=drive_link -o PixelArtRedmond15V-PixelArt-PIXARFK.safetensors
|
| 50 |
+
|
| 51 |
# Set the working directory to the user's home directory
|
| 52 |
WORKDIR $HOME/app
|
| 53 |
|