pvanand commited on
Commit
dc502a2
·
verified ·
1 Parent(s): 66380f3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -0
Dockerfile CHANGED
@@ -20,6 +20,13 @@ RUN mkdir -p /app/data && \
20
  chown -R appuser:appuser /tmp/app-work && \
21
  chmod -R 777 /tmp/app-work
22
 
 
 
 
 
 
 
 
23
  # Switch to the non-root user
24
  USER appuser
25
 
 
20
  chown -R appuser:appuser /tmp/app-work && \
21
  chmod -R 777 /tmp/app-work
22
 
23
+ RUN mkdir -p /app/data /app/indexes && \
24
+ chown -R appuser:appuser /app && \
25
+ chmod -R 755 /app && \
26
+ mkdir -p /tmp/app-work && \
27
+ chown -R appuser:appuser /tmp/app-work && \
28
+ chmod -R 777 /tmp/app-work
29
+
30
  # Switch to the non-root user
31
  USER appuser
32