Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -14,6 +14,10 @@ COPY requirements.txt .
|
|
| 14 |
|
| 15 |
# Install any needed packages specified in requirements.txt
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
# Copy the rest of the application code into the container
|
| 19 |
COPY . .
|
|
|
|
| 14 |
|
| 15 |
# Install any needed packages specified in requirements.txt
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 17 |
+
RUN mkdir -p /app/uploads
|
| 18 |
+
|
| 19 |
+
# Set the correct permissions
|
| 20 |
+
RUN chmod -R 777 /app/uploads
|
| 21 |
|
| 22 |
# Copy the rest of the application code into the container
|
| 23 |
COPY . .
|