chore: node fixes

This commit is contained in:
AP 2020-01-31 21:55:52 +01:00
parent 1a40cf0e26
commit 41bb97cc40
3 changed files with 1 additions and 12 deletions

View file

@ -1,8 +0,0 @@
files:
"/opt/elasticbeanstalk/hooks/appdeploy/pre/49_change_permissions.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
sudo chown -R ec2-user:ec2-user tmp/

View file

@ -1,3 +0,0 @@
option_settings:
aws:elasticbeanstalk:container:nodejs:
NodeCommand: "node dist/server"

View file

@ -3,4 +3,4 @@ container_commands:
compile:
command: "npm run build"
env:
PATH: /opt/elasticbeanstalk/node-install/node-v10.15.3-linuxT-x64/bin/
PATH: /opt/elasticbeanstalk/node-install/node-v12.14.1-linuxT-x64/bin/