Create entrypoint.sh
Browse files- 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
|