Check your .dockerignore file. Possible it ignores needed files for copy command and you get failed to compute cache key error.
Check your .dockerignore file. Possible it ignores needed files for copy command and you get failed to compute cache key error.