报错:
ADD failed: file not found in build context or excluded by .dockerignore: stat
背景:
远程执行脚本文件,报这个错误
解决方案:
执行脚本前,进入到服务器的指定目录,然后执行脚本
时间:2021-12-24 10:29:28
报错:
ADD failed: file not found in build context or excluded by .dockerignore: stat
背景:
远程执行脚本文件,报这个错误
解决方案:
执行脚本前,进入到服务器的指定目录,然后执行脚本