Browse Source
背景 执行目录 为 .../pack ,如果Dockfile 涉及拷贝父目录文件夹( COPY ../conf ./conf ),会报错 "Forbidden path outside the build context" 如果把 ../conf 等配置文件拷贝 的 pack目录, 需要做大量源码改动; 调整 docker build执行目录,是最优解决方案bak/zhoushx/master/deployEvn
zhoushx1018
3 years ago
1 changed files with 1 additions and 2 deletions
Loading…
Reference in new issue