Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -13,6 +13,10 @@ COPY requirements.txt .
|
|
13 |
# Upgrade pip and install any needed packages specified in requirements.txt
|
14 |
RUN pip install --upgrade pip && pip install -r requirements.txt
|
15 |
|
|
|
|
|
|
|
|
|
16 |
# Copy the rest of the application code into the container
|
17 |
COPY . .
|
18 |
|
|
|
13 |
# Upgrade pip and install any needed packages specified in requirements.txt
|
14 |
RUN pip install --upgrade pip && pip install -r requirements.txt
|
15 |
|
16 |
+
# Create cache directory and set permissions
|
17 |
+
RUN mkdir -p /app/cache /app/uploads && chmod -R 777 /app/cache /app/uploads
|
18 |
+
RUN chmod -R 777 /app
|
19 |
+
|
20 |
# Copy the rest of the application code into the container
|
21 |
COPY . .
|
22 |
|