使用 Procfile 配置应用程序进程
您可以在源代码包的根目录中包含一个名为 Procfile
的文件,来指定启动应用程序的命令。
例 Procfile
web: node index.js
有关 Procfile
用法的信息,请展开 扩展 Elastic Beanstalk Linux 平台 中的构建文件和 Procfile 部分。
此功能将替换 aws:elasticbeanstalk:container:nodejs
命名空间中的原有NodeCommand
选项。
您可以在源代码包的根目录中包含一个名为 Procfile
的文件,来指定启动应用程序的命令。
例 Procfile
web: node index.js
有关 Procfile
用法的信息,请展开 扩展 Elastic Beanstalk Linux 平台 中的构建文件和 Procfile 部分。
此功能将替换 aws:elasticbeanstalk:container:nodejs
命名空间中的原有NodeCommand
选项。