Update Dockerfile
Browse files- Dockerfile +8 -4
Dockerfile
CHANGED
|
@@ -1,7 +1,11 @@
|
|
| 1 |
FROM ghcr.io/sophomoresty/gemini-web2api:latest
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
|
|
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
FROM ghcr.io/sophomoresty/gemini-web2api:latest
|
| 2 |
|
| 3 |
+
# 调试:列出根目录和所有子目录中的 .py 文件
|
| 4 |
+
RUN ls -la / && \
|
| 5 |
+
find / -name "*.py" 2>/dev/null | head -20 || true
|
| 6 |
|
| 7 |
+
# 调试:查找 gemini_web2api 相关文件
|
| 8 |
+
RUN find / -name "*gemini*" 2>/dev/null | head -20 || true
|
| 9 |
+
|
| 10 |
+
# 然后尝试启动(先不指定具体命令,让镜像自己的 CMD 生效)
|
| 11 |
+
CMD ["sh", "-c", "ls -la / && python --version && find / -name '*.py' 2>/dev/null | head -20"]
|