gpt4 book ai didi

heroku - Procfile可以发表评论吗?

转载 作者:行者123 更新时间:2023-12-03 12:31:46 25 4
gpt4 key购买 nike

是否可以在Procfile中添加注释?如果是这样,语法是什么?

不知道这是否重要,但是我在Heroku上托管。

最佳答案

是的,您可以将注释放入Procfile中。我知道两个解析Procfile的程序foremanforego

在起源于Procfile格式的领类中,Procfile可以包含注释,空白行,实际上可以包含任何看起来不像有意义的Procfile行的行。

the class that parses a Procfile:

# A valid Procfile entry is captured by this regex:
#
# /^([A-Za-z0-9_]+):\s*(.+)$/
#
# All other lines are ignored.

放弃, which Heroku usesfollows the same scheme

关于heroku - Procfile可以发表评论吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37080834/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com