Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -23,7 +23,10 @@ RUN apt-get update && apt-get install -y \
|
|
23 |
COPY requirements.txt .
|
24 |
RUN pip install --no-cache-dir -r requirements.txt
|
25 |
|
26 |
-
#
|
|
|
|
|
|
|
27 |
COPY . .
|
28 |
|
29 |
# Expose port
|
|
|
23 |
COPY requirements.txt .
|
24 |
RUN pip install --no-cache-dir -r requirements.txt
|
25 |
|
26 |
+
# Create upload folder with write permissions
|
27 |
+
RUN mkdir -p /app/uploads && chmod -R 777 /app/uploads
|
28 |
+
|
29 |
+
# Copy app files
|
30 |
COPY . .
|
31 |
|
32 |
# Expose port
|