Created
May 20, 2015 20:46
-
-
Save nanek/f7f8f4cfd76751e43dd1 to your computer and use it in GitHub Desktop.
Disable npm install on ElasticBeanstalk. Only npm rebuild.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands: | |
01_fixNpmInstallJustRebuild: | |
command: sed -i "s/check_call(\[npm_path, 'install'\], cwd=app_path, env=npm_env)/#/g" /opt/elasticbeanstalk/containerfiles/ebnode.py | |
02_fixNpmInstallJustRebuild: | |
command: sed -i "s/check_call(\[npm_path, '--production', 'install'\], cwd=app_path, env=npm_env)/#/g" /opt/elasticbeanstalk/containerfiles/ebnode.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cool. I may have to use this if I'm still alive after beating my head against a wall. ;)