Skip to content
ohsudo, Home

Tags

#dockerignore

failed to compute cache key: … not found
Docker & Containers

Docker build "failed to compute cache key: … not found": why COPY can't see your file

Fix "failed to compute cache key … not found" and "COPY failed": the file is outside the build context, excluded by .dockerignore, or missing in CI.

Beginner · 4 min read