Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,9 @@ FROM python:3.11-slim
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# Copy the dependencies file to the working directory
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
|
|
|
| 4 |
# Set the working directory in the container
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Create a directory for data and set permissions
|
| 8 |
+
RUN mkdir -p /app/data && chmod -R 777 /app/data
|
| 9 |
+
|
| 10 |
# Copy the dependencies file to the working directory
|
| 11 |
COPY requirements.txt .
|
| 12 |
|