在Heroku建造时是否有办法运行命令?



我有一个python应用程序,需要我在构建时运行python main.py。是否有办法自动化这个过程,以便在每次构建结束时运行该命令?我看过一些关于英雄的文章。但他们都解释了它在Docker应用程序中的用法,这不是我的情况。

我使用了Procfile:/没看过https://devcenter.heroku.com/articles/getting-started-with-python define-a-procfile

最新更新