赞
踩
使用 dockerfile 制作镜像时,docker client 会发送 dockerfile 同级目录下的所有文件到docker daemon(docker 守护进程)
删除dockerfile同级目录下的无关文件
构建.dockerignore文件,放到dockerfile文件所在目录下
支持正则语法
./back
./dist-bk*
./web
./xxx-bk
./xxx-test.jar-bk
与dockerfile无关文件不放在一起,dockerfile单独放置在一个文件夹下
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。