Dockerfile COPY --from Error: 'registry' Build Stage Missing '/build/' Directory
This Dockerfile is attempting to copy files from a previous build stage using the 'COPY --from' syntax. However, it seems that the build stage with the tag 'registry' does not have a '/build/' directory or any files within it. This is causing the build to fail as it cannot calculate the cache key for this step. The issue needs to be resolved by ensuring that the 'registry' build stage has the necessary files in the '/build/' directory before attempting to copy them over.
原文地址: https://www.cveoy.top/t/topic/gXYk 著作权归作者所有。请勿转载和采集!