R
Railway•6mo ago
mendesfabio

error resolving dockerfile

6038fab7-84cc-4d23-9a43-701e13ab1f5b
13 Replies
Percy
Percy•6mo ago
Project ID: 6038fab7-84cc-4d23-9a43-701e13ab1f5b
mendesfabio
mendesfabioOP•6mo 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•6mo ago
if you push to github will the resulting build work?
mendesfabio
mendesfabioOP•6mo ago
no
Brody
Brody•6mo ago
do you have a root directory set?
mendesfabio
mendesfabioOP•6mo ago
yea it's a monorepo but root is set to the specific app's folder
No description
Brody
Brody•6mo ago
and that directory has your Dockerfile right?
mendesfabio
mendesfabioOP•6mo ago
there's no Dockerfile in our project 😅 I assumed this kaniko is yours
Brody
Brody•6mo ago
oh so you use nixpacks
mendesfabio
mendesfabioOP•6mo ago
yup it seems disabling the new builder will fix it but we used the new builder without problem before
Brody
Brody•6mo ago
i figured, thanks for reporting this, i will bring this info to the v2 builder's dev
mendesfabio
mendesfabioOP•6mo ago
cool - thanks!
Brody
Brody•6mo 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