Hanxiaofeng123 commited on
Commit
42a028d
·
verified ·
1 Parent(s): fdf1dec

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -16,5 +16,13 @@ RUN pip install -r requirements.txt
16
  COPY . /app
17
  WORKDIR /app
18
 
 
 
 
 
 
 
 
 
19
  # 入口
20
  CMD ["python", "app.py"]
 
16
  COPY . /app
17
  WORKDIR /app
18
 
19
+ # 添加验证命令
20
+ RUN echo "检查文件是否存在:" && \
21
+ ls -la /app/checkpoint/ && \
22
+ echo "查找 .pth 文件:" && \
23
+ find /app -name "*.pth" -o -name "*.PTH" && \
24
+ echo "当前目录结构:" && \
25
+ find /app -type f -name "*.pth" | head -10
26
+
27
  # 入口
28
  CMD ["python", "app.py"]