Spaces:
Sleeping
Sleeping
Modified Docker file
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -10,7 +10,11 @@ COPY ./requirements.txt /code/requirements.txt
|
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
14 |
|
15 |
COPY . .
|
16 |
|
|
|
10 |
|
11 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
12 |
|
13 |
+
# Create the 'db' directory
|
14 |
+
RUN mkdir -p /code/db
|
15 |
+
|
16 |
+
# Set permissions for the 'db' directory
|
17 |
+
RUN chmod -R 777 /code/db
|
18 |
|
19 |
COPY . .
|
20 |
|