Spaces:
Running
Running
Update Dockerfile
Browse files- 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 |
|