karthikeya1212 commited on
Commit
07b5a8b
·
verified ·
1 Parent(s): 1d38932

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -18,8 +18,8 @@ RUN apt-get update && apt-get install -y \
18
  # Copy all project files
19
  COPY . /app
20
 
21
- # Create model directory
22
- RUN mkdir -p ${MODEL_DIR}
23
 
24
  # --- Install Python dependencies ---
25
  RUN pip install --no-cache-dir \
 
18
  # Copy all project files
19
  COPY . /app
20
 
21
+ # Create and open permissions for /tmp and cache dirs
22
+ RUN mkdir -p /tmp/hf_cache /tmp/models/realvisxl_v4 && chmod -R 777 /tmp /root /app
23
 
24
  # --- Install Python dependencies ---
25
  RUN pip install --no-cache-dir \