如前所述,该命令
RUN appmanage.py appconfig appAdd.json按预期成功运行并报告
System checkidentified no issues (0 silenced).。
此外,命令“坚持执行”杀死自己并返回退出代码137。此操作的最小更改是将您更新
Dockerfile为
...#Run a script#Note: Here appmanage.py is a file inside the pip installed location(site-packages), but it will be accessible directly without cd to the folderRUN appmanage.py appconfig appAdd.json || true...
这只会强行忽略上一个命令的返回退出代码并继续构建。



