DockerFile 文件:
报错信息:
Step 3/6 : COPY certificate/* ./certificate
Error response from daemon: When using COPY with more than one source file, the destination must be a directory and end with a /
Failed to deploy 'ginMvc Dockerfile: DockerFile': Can't retrieve image ID from build stream
原因:DockerFile COPY 命令,Copy文件到 docker image 中必须以 / 结尾
解决方法: