ApaCu commited on
Commit
f035f6e
·
verified ·
1 Parent(s): d20455b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 for database and blacklist
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 . .