api/.ebextensions/00_change_npm_permissions.config

10 lines
274 B
Text
Raw Normal View History

2018-09-20 15:06:21 +02:00
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/00_set_tmp_permissions.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
2018-09-20 15:11:53 +02:00
chown -R nodejs:nodejs /tmp/.npm /tmp/deployment
2018-09-20 15:16:06 +02:00
chmod -R 777 /tmp/.npm /tmp/deployment