Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
|