Dockerfile copies build output that is not in the repository
The repository's Dockerfile copies Models, which is not in the repository. It is produced by a step that has to run before the image is built (usually CI), so the image cannot be built from a clean checkout. If the repository does have it, .dockerignore excludes it.
TypeErrorAn error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.
Seen32 times · 29 variants
WhereDocker Compose, Dockerfile, ASP.NET +1 moreDocker Compose, Dockerfile, ASP.NET, Node.js
StatusFixed (2.1.0)Fixed in PanelAlpha Engine 2.1.0. The error is resolved on our side, so you will not run into it anymore.
Why it happens
The Dockerfile copies release files from dist/ that are produced outside the repository, so the image cannot be built from a clean checkout.
What the log looks like
Deploy log
#7 ERROR: failed to calculate checksum of ref krydlb9oj0j46qjmjpaohs1e1::b8w92tvt04q6uru0qlnmzpjqa: "/Models": not foundWARNING: current commit information was not captured by the build: failed to read current commit information with git rev-parse --is-inside-work-treeDockerfile:8--------------------6 | COPY /Models ./Models7 | COPY /desktop ./wwwroot/desktop8 | >>> COPY /publish .9 | RUN chmod +x Damselfly.Web.Server10 |--------------------failed to solve: failed to compute cache key: *** to calculate checksum of ref krydlb9oj0j46qjmjpaohs1e1::b8w92tvt04q6uru0qlnmzpjqa: …