jbilcke-hf HF staff commited on
Commit
d07768c
1 Parent(s): cc216fb
Files changed (1) hide show
  1. Dockerfile +6 -9
Dockerfile CHANGED
@@ -38,19 +38,16 @@ ENV HOME=/home/user \
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
 
 
 
 
 
54
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
55
  COPY --chown=user . $HOME/app
56
 
 
38
 
39
  RUN pip3 install --no-cache-dir --upgrade --pre -r /code/requirements.txt
40
 
41
+ RUN pip3 install gdown
42
+ RUN pip3 install --upgrade gdown
 
 
 
 
 
 
 
43
 
44
  # Set the working directory to the user's home directory
45
  WORKDIR $HOME/app
46
 
47
+ RUN mkdir -p $HOME/app/lora_weights
48
+
49
+ RUN gdown https://drive.google.com/drive/folders/1D7g-dnCQnjjogTPX-B3fttgdrp9nKeKw -O lora_weights --folder
50
+
51
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
52
  COPY --chown=user . $HOME/app
53