bhgi commited on
Commit
59d8c8a
·
verified ·
1 Parent(s): d2edc05

Fix: use v4.1.0 (root user) and port 5244

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -8
Dockerfile CHANGED
@@ -1,8 +1,2 @@
1
- FROM openlistteam/openlist:latest
2
-
3
- EXPOSE 7860
4
-
5
- # 创建启动脚本
6
- RUN printf '#!/bin/sh\nmkdir -p /tmp/openlist/data\necho \"{\\\"http_port\\\":7860}\" > /tmp/openlist/data/config.json\nexec /opt/openlist/openlist server --data /tmp/openlist/data\n' > /start.sh && chmod +x /start.sh
7
-
8
- CMD ["/start.sh"]
 
1
+ FROM openlistteam/openlist:v4.1.0
2
+ EXPOSE 5244