R
Railway•5mo ago
mendesfabio

error resolving dockerfile

6038fab7-84cc-4d23-9a43-701e13ab1f5b
13 Replies
Percy
Percy•5mo ago
Project ID: 6038fab7-84cc-4d23-9a43-701e13ab1f5b
mendesfabio
mendesfabio•5mo ago
I'm finding weird that I deployed it 2 days ago and it worked fine. Now if I try to redeploy the exact same commit it just fails on build: Error: error resolving dockerfile path: copying dockerfile: copying file: write /kaniko/Dockerfile: copy_file_range: is a directory I'm not quite sure how to debug it either. Full logs: Error: error resolving dockerfile path: copying dockerfile: copying file: write /kaniko/Dockerfile: copy_file_range: is a directory --custom-platform string Specify the build platform if different from the current host exit status 1
Brody
Brody•5mo ago
if you push to github will the resulting build work?
mendesfabio
mendesfabio•5mo ago
no
Brody
Brody•5mo ago
do you have a root directory set?
mendesfabio
mendesfabio•5mo ago
yea it's a monorepo but root is set to the specific app's folder
No description
Brody
Brody•5mo ago
and that directory has your Dockerfile right?
mendesfabio
mendesfabio•5mo ago
there's no Dockerfile in our project 😅 I assumed this kaniko is yours
Brody
Brody•5mo ago
oh so you use nixpacks
mendesfabio
mendesfabio•5mo ago
yup it seems disabling the new builder will fix it but we used the new builder without problem before
Brody
Brody•5mo ago
i figured, thanks for reporting this, i will bring this info to the v2 builder's dev
mendesfabio
mendesfabio•5mo ago
cool - thanks!
Brody
Brody•5mo ago
for what its worth you can use the v2 builder for this, you just need to have your path prefixed with / ive reported this to the dev and it will be fixed, but thats the work around in the mean time
Want results from more Discord servers?
Add your server