在 Elastic Beanstalk 上使用 Procfile 配置自定义启动命令
您可以在源包的根目录中包含一个名为 Procfile 的文件,来指定启动应用程序的命令。
例 Procfile
web: node index.js
有关 Procfile 使用情况的信息,请参阅 Buildfile 和 Procfile。
注意
此功能将替换 NodeCommand 命名空间中的旧 aws:elasticbeanstalk:container:nodejs 选项。
您可以在源包的根目录中包含一个名为 Procfile 的文件,来指定启动应用程序的命令。
web: node index.js
有关 Procfile 使用情况的信息,请参阅 Buildfile 和 Procfile。
此功能将替换 NodeCommand 命名空间中的旧 aws:elasticbeanstalk:container:nodejs 选项。