MaxSainz2000 commited on
Commit
868997d
·
verified ·
1 Parent(s): 57efc77

Update Dockerfile for persistent storage

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -2,3 +2,7 @@ FROM moltbot/moltbot:latest
2
 
3
  # Expose the port Hugging Face Spaces expects
4
  EXPOSE 7860
 
 
 
 
 
2
 
3
  # Expose the port Hugging Face Spaces expects
4
  EXPOSE 7860
5
+
6
+ # Symlink /root/.molt to /data for persistent storage compatibility
7
+ # (Persistent storage on HF Spaces is mounted at /data)
8
+ RUN mkdir -p /data && rm -rf /root/.molt && ln -s /data /root/.molt