hayou2002 commited on
Commit
e1a87a0
·
verified ·
1 Parent(s): 9ab1e3c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -9,11 +9,11 @@ RUN apk update && apk add --no-cache \
9
  net-tools
10
 
11
  # 适配HF端口(替换原5244)
12
- EXPOSE 7860
13
 
14
  # 保留你原有的数据目录配置
15
  ENV OPENLIST_DATA_DIR=/app/data
16
  VOLUME ["/app/data"]
17
 
18
  # 修复启动命令:用Python模块调用(你之前可运行的方式,避开可执行文件路径问题)
19
- CMD ["python", "-m", "openlist.main", "serve", "--host", "0.0.0.0", "--port", "7860"]
 
9
  net-tools
10
 
11
  # 适配HF端口(替换原5244)
12
+ EXPOSE 5244
13
 
14
  # 保留你原有的数据目录配置
15
  ENV OPENLIST_DATA_DIR=/app/data
16
  VOLUME ["/app/data"]
17
 
18
  # 修复启动命令:用Python模块调用(你之前可运行的方式,避开可执行文件路径问题)
19
+ CMD ["python", "-m", "openlist.main", "serve", "--host", "0.0.0.0", "--port", "5244"]