Closed jgmontoya closed 2 months ago
Is the .yarnrc file commited to the repo? There was a change that may be related to your issue https://github.com/basecamp/kamal/pull/700
@morgoth I can confirm that was exactly the problem. I'm not sure why I had that in .gitignore 🤦
Thanks for your help!
I also ran into this issue. I do not want want to check in the file missing from my build context, as I generate it pre-build.
Fix for this is here: https://github.com/basecamp/kamal/pull/700#issuecomment-2086026939
After updating kamal from 1.4.0 to either 1.5.0/1.5.1 the docker build fails. That's even when the Dockerfile is the exact same for both.
This is the first part of the dockerfile:
And the error occurs at this line:
COPY --link .yarnrc package.json yarn.lock ./
Is there any cleanup to do when upgrading kamal or something like that?