logo
51
166
WeChat Login

build 镜像时候提示找不到requirements.txt文件,但是文件确实存在#1895

Resolved
created 2025-09-04
Edit

简单描述一下问题和重现方式

代码仓库根目录有一个requirements.txt文件,dockerfile里写的
COPY requirements.txt .
启动云开发
自动构建镜像,会报错
[build Dockerfile] #6 [ 2/19] COPY requirements.txt .
[build Dockerfile] #6 ERROR: failed to calculate checksum of ref 6b5ef977-e67b-4ca1-b716-d735899348df::3p5gpc8qhdjzkkeaozrynj2i9: "/requirements.txt": not found
[build Dockerfile] ------
[build Dockerfile] > [ 2/19] COPY requirements.txt .:
[build Dockerfile] ------

详细日志:https://cnb.cool/echonlab/dev-env/-/build/logs/cnb-gvg-1j495jlus

Resolved ISSUE
Assignee
None yet
Label
一定是bug:待鉴定
Priority
None yet
Time period
-
Property
Add custom properties to record and label key information
Participant