Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -9,8 +9,9 @@ COPY requirements.txt .
|
|
| 9 |
# Install dependencies from requirements.txt
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
-
# Create the writable data directory
|
| 13 |
RUN mkdir -p /data
|
|
|
|
| 14 |
|
| 15 |
# Copy all the other files into the container
|
| 16 |
COPY . .
|
|
|
|
| 9 |
# Install dependencies from requirements.txt
|
| 10 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 11 |
|
| 12 |
+
# Create the writable data directory and set permissions
|
| 13 |
RUN mkdir -p /data
|
| 14 |
+
RUN chmod -R 777 /data
|
| 15 |
|
| 16 |
# Copy all the other files into the container
|
| 17 |
COPY . .
|