Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
@@ -26,12 +26,6 @@ USER anythingllm
|
|
26 |
# Set environment variables for storage and server port
|
27 |
ENV STORAGE_DIR="/data/storage"
|
28 |
ENV SERVER_PORT=7860
|
29 |
-
# Copy the custom script to handle the backup
|
30 |
-
COPY copy-storage.sh /usr/local/bin/copy-storage.sh
|
31 |
-
Ensure the script has execution permissions
|
32 |
-
USER root
|
33 |
-
RUN chmod +x /usr/local/bin/copy-storage.sh
|
34 |
-
# Switch back to the anythingllm user
|
35 |
USER anythingllm
|
36 |
-
|
37 |
ENTRYPOINT ["/bin/bash","/usr/local/bin/render-entrypoint.sh"]
|
|
|
26 |
# Set environment variables for storage and server port
|
27 |
ENV STORAGE_DIR="/data/storage"
|
28 |
ENV SERVER_PORT=7860
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
USER anythingllm
|
30 |
+
#Set the entry point to run the script and the main application
|
31 |
ENTRYPOINT ["/bin/bash","/usr/local/bin/render-entrypoint.sh"]
|