Added some custom configurations for Elastic Beanstalk

pull/53/head
Dominik Michno 2019-04-08 11:59:14 -04:00
parent 83a33a0bea
commit 18a8c08013
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,4 @@
# 02_nodecommand.config
option_settings:
aws:elasticbeanstalk:container:nodejs:
NodeCommand: "npm run start:prod"

6
.gitignore vendored
View File

@ -18,3 +18,9 @@ lib-cov
*.out *.out
*.pid *.pid
package-lock.json package-lock.json
# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml
.ebextensions/01_envvar.config

2
.npmrc Normal file
View File

@ -0,0 +1,2 @@
# Force npm to run node-gyp also as root, preventing permission denied errors in AWS with npm@5
unsafe-perm=true