HuggingFace0920 commited on
Commit
83ef5c8
·
verified ·
1 Parent(s): 40b2574

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -18,9 +18,14 @@ WORKDIR /OpenList
18
  # 下载并解压 OpenList (处理嵌套压缩包)
19
  RUN wget -q https://github.com/OpenListTeam/OpenList/releases/download/beta/openlist-linux-amd64.tar.gz && \
20
  tar -xzf openlist-linux-amd64.tar.gz && \
21
- tar -xf openlist-linux-amd64.tar && \
 
 
 
 
22
  mv openlist . && \
23
- rm -rf openlist-linux-amd64*
 
24
 
25
  # 设置权限
26
  RUN chmod 755 openlist
 
18
  # 下载并解压 OpenList (处理嵌套压缩包)
19
  RUN wget -q https://github.com/OpenListTeam/OpenList/releases/download/beta/openlist-linux-amd64.tar.gz && \
20
  tar -xzf openlist-linux-amd64.tar.gz && \
21
+ # 列出解压后的文件,用于调试
22
+ ls -l && \
23
+ # 解压内层压缩包(使用通配符匹配实际文件名)
24
+ tar -xf *.tar && \
25
+ # 移动可执行文件
26
  mv openlist . && \
27
+ # 清理所有临时文件
28
+ rm -rf openlist-linux-amd64.tar.gz *.tar
29
 
30
  # 设置权限
31
  RUN chmod 755 openlist