Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -13,12 +13,11 @@ USER anythingllm
|
|
13 |
ENV STORAGE_DIR="/data/storage"
|
14 |
ENV SERVER_PORT=7860
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
# Switch back to root to modify permissions
|
19 |
-
USER root
|
20 |
|
21 |
# Ensure the script has execution permissions
|
|
|
22 |
RUN chmod +x /usr/local/bin/copy-storage.sh
|
23 |
|
24 |
# Switch back to the anythingllm user
|
|
|
13 |
ENV STORAGE_DIR="/data/storage"
|
14 |
ENV SERVER_PORT=7860
|
15 |
|
16 |
+
# Copy the custom script to handle the backup
|
17 |
+
COPY copy-storage.sh /usr/local/bin/copy-storage.sh
|
|
|
|
|
18 |
|
19 |
# Ensure the script has execution permissions
|
20 |
+
USER root
|
21 |
RUN chmod +x /usr/local/bin/copy-storage.sh
|
22 |
|
23 |
# Switch back to the anythingllm user
|