WebashalarForML commited on
Commit
34aa914
·
verified ·
1 Parent(s): 521addf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -28,6 +28,10 @@ COPY requirements.txt .
28
  RUN pip install --upgrade pip
29
  RUN pip install --no-cache-dir -r requirements.txt
30
 
 
 
 
 
31
  # Copy app files
32
  COPY . .
33
 
 
28
  RUN pip install --upgrade pip
29
  RUN pip install --no-cache-dir -r requirements.txt
30
 
31
+ # Create necessary directories with appropriate permissions
32
+ RUN mkdir -p /app/cache /app/uploads /app/results /app/checkpoints /app/temp && chmod -R 777 /app/cache /app/uploads /app/results /app/checkpoints /app/temp
33
+ RUN chmod -R 777 /app
34
+
35
  # Copy app files
36
  COPY . .
37