build error (wrong path)

Hi, I think there is a bug in the building pipeline. I have set "Dockerpath" to "xx/yy/Dockerfile" in my serverless config. But when building i got an error:
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 5208vxf0472q1f7j9chd9dea3::t36vuvg7fkrqmpnepy87364mh: "/src/start.sh": not found
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 5208vxf0472q1f7j9chd9dea3::t36vuvg7fkrqmpnepy87364mh: "/src/start.sh": not found
But the path of "start.sh" is "xx/yy/start.sh". I think the building command on your side don't go in the directory of the Dockerfile and just "docker build ./xx/yy/Dockerfile". So files are not in root folder
4 Replies
Poddy
Poddy6mo ago
@0xBowgartField (m/acc)
Escalated To Zendesk
The thread has been escalated to Zendesk!
Ticket ID: #17009
Dj
Dj6mo ago
It's relative to the repo being cloned, unless I misunderstand the issue.
0xBowgartField (m/acc)
no this is not a repo issue my repo as other file inside, the next.js app you are giving the option to pass a custom path for the Dockerfile it should also have the option to give a custom content âth for docker building
Unknown User
Unknown User6mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?