Open lubien opened 6 months ago
It looks like it is a general problem:
8 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/yarn.lock": not found
4 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/package-lock.json": not found
2 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/app": not found
2 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/pnpm-lock.yaml": not found
2 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/prisma": not found
1 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/.gitignore": not found
1 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/apps/l192-notification": not found
1 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/dist": not found
1 failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xxxxxxxx "/frontend": not found
ignore looks like it could be useful
A friend had a dockerfile like this:
And they tried to deploy and got an issue like:
Because during launch they got asked to create a
.dockerignore
and accepted it. Probably it contained a line to ignore dist.