[英]Files after docker build missing in the image
i am currently trying to build a windows iis docker image.我目前正在尝试构建 Windows iis docker 映像。 The Dockerfile is in the folder where the files are that has to get into the docker file. Dockerfile 位于必须进入 docker 文件的文件所在的文件夹中。 I thought it would be automatically moved in, but i cant find the folder in there.我以为它会自动移入,但我在那里找不到文件夹。
Is it possible to move the files surrouding the docker file into the docker image?是否可以将 docker 文件周围的文件移动到 docker 镜像中?
Thanks!谢谢!
您可以通过将复制命令放在 docker 文件中来复制所有文件:
COPY . .
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.