AWS has changed the process recently. Now you have to upload a Procfile
with all your application files. The same approach exists in Heroku
as well.
The content of Procfile
should be:
web: node index.js
(ie specify the node command to be run for your application)
Official Documentation: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_nodejs.container.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.