Heroku上的“未为进程类型Web指定命令”

Log*_*ang 6 heroku docker

我做到了heroku container:push web,它给了Your image has been successfully pushed. You can now release it with the 'container:release' command.然后我跑了heroku container:release web,它说

No command specified for process type web
Run Code Online (Sandbox Code Playgroud)

我也heroku stack:set container按照这里的建议尝试,但没有任何变化。

我的个人资料为

web: gunicorn app:app --log-file=-
Run Code Online (Sandbox Code Playgroud)

不知道出了什么问题以及如何调试。任何帮助表示赞赏!

小智 15

从改变ENTRYPOINTCMD修复了这个问题对我来说