avoid rebuilding node_modules in elastic beanstalk

前端 未结 5 1294
礼貌的吻别
礼貌的吻别 2020-12-12 10:00

We have a fairly simple node.js app, but due to AWS Elastic Beanstalk deployment mechanism, it takes about 5 minutes to roll-out a new version (via git aws.push

5条回答
  •  既然无缘
    2020-12-12 10:49

    I had 10+ minute builds when I would deploy. The solution was much simpler than others have came up with... Just check node_modules into git! See http://www.futurealoof.com/posts/nodemodules-in-git.html for the reasoning

提交回复
热议问题