tejani commited on
Commit
4d98778
·
verified ·
1 Parent(s): 4330211

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -19,9 +19,9 @@ RUN git lfs install
19
  # Clone the fastsdcpu repository
20
  RUN git clone https://github.com/rupeshs/fastsdcpu.git .
21
 
22
- # Create a writable cache directory for Hugging Face and ensure configs is writable
23
- RUN mkdir -p /app/.cache/huggingface /app/configs && \
24
- chmod -R 777 /app/.cache /app/configs
25
 
26
  # Set environment variables for Hugging Face cache and OpenVINO telemetry
27
  ENV HF_HOME=/app/.cache/huggingface
@@ -36,7 +36,7 @@ RUN python -m venv env && \
36
  pip install -r requirements.txt
37
 
38
  # Download a default model (e.g., lcm-lora-sdv1-5)
39
- RUN git clone https://huggingface.co/latent-consistency/lcm-lora-sdv1-5 /models/lcm-lora-sdv1-5
40
 
41
  # Configure the model path
42
  RUN echo "/models/lcm-lora-sdv1-5" > configs/lcm-lora-models.txt && \
 
19
  # Clone the fastsdcpu repository
20
  RUN git clone https://github.com/rupeshs/fastsdcpu.git .
21
 
22
+ # Create writable directories for cache, configs, and results
23
+ RUN mkdir -p /app/.cache/huggingface /app/configs /app/results && \
24
+ chmod -R 777 /app/.cache /app/configs /app/results
25
 
26
  # Set environment variables for Hugging Face cache and OpenVINO telemetry
27
  ENV HF_HOME=/app/.cache/huggingface
 
36
  pip install -r requirements.txt
37
 
38
  # Download a default model (e.g., lcm-lora-sdv1-5)
39
+ RUN git clone https://huggingface.co/latent-consistency/lcm-lataency-sdv1-5 /models/lcm-lora-sdv1-5
40
 
41
  # Configure the model path
42
  RUN echo "/models/lcm-lora-sdv1-5" > configs/lcm-lora-models.txt && \