Fix: use v4.1.0 (root user) and port 5244
Browse files- Dockerfile +2 -8
Dockerfile
CHANGED
|
@@ -1,8 +1,2 @@
|
|
| 1 |
-
FROM openlistteam/openlist:
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|