Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -8,7 +8,8 @@ WORKDIR /app
|
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
# Ensure the uploads folder exists and is writable
|
| 11 |
-
|
|
|
|
| 12 |
|
| 13 |
# Install dependencies
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 8 |
COPY . /app
|
| 9 |
|
| 10 |
# Ensure the uploads folder exists and is writable
|
| 11 |
+
# Ensure the uploads and audio folders exist and are writable
|
| 12 |
+
RUN mkdir -p static/uploads static/audio && chmod -R 777 static/uploads static/audio
|
| 13 |
|
| 14 |
# Install dependencies
|
| 15 |
RUN pip install --no-cache-dir -r requirements.txt
|