xdragxt commited on
Commit
1f4d7cb
·
verified ·
1 Parent(s): ffbd337

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -18,10 +18,12 @@ RUN pip install --no-cache-dir -r requirements.txt
18
 
19
  RUN bash installer.sh
20
 
21
- # Ensure sessions and resources directories exist and are writable
22
  RUN mkdir -p /app/sessions && chmod -R 777 /app/sessions
23
  RUN mkdir -p /app/resources/auth && chmod -R 777 /app/resources
 
24
 
25
  ENV PYTHONPATH="${PYTHONPATH}:/app"
26
 
27
  CMD ["bash", "startup"]
 
 
18
 
19
  RUN bash installer.sh
20
 
21
+ # Ensure writable dirs
22
  RUN mkdir -p /app/sessions && chmod -R 777 /app/sessions
23
  RUN mkdir -p /app/resources/auth && chmod -R 777 /app/resources
24
+ RUN mkdir -p /app/tmp && chmod -R 777 /app/tmp
25
 
26
  ENV PYTHONPATH="${PYTHONPATH}:/app"
27
 
28
  CMD ["bash", "startup"]
29
+