HawkeyeHS commited on
Commit
0f506f1
1 Parent(s): ad33166

Modified Docker file

Browse files
Files changed (1) hide show
  1. 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
- RUN chmod -R 777 db
 
 
 
 
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