startmenu commited on
Commit
faa8f60
·
verified ·
1 Parent(s): 5af597a

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +8 -0
entrypoint.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # entrypoint.sh
3
+
4
+ # 设置权限
5
+ chmod -R 755 /opt/openlist/data
6
+
7
+ # 启动 OpenList 服务器,绑定到 0.0.0.0:7860
8
+ exec /opt/openlist/openlist server --port 7860 --host 0.0.0.0