api/.ebextensions/00_change_npm_permissions.config
2018-09-20 15:16:06 +02:00

9 lines
274 B
Text

files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/00_set_tmp_permissions.sh":
mode: "000755"
owner: root
group: root
content: |
#!/usr/bin/env bash
chown -R nodejs:nodejs /tmp/.npm /tmp/deployment
chmod -R 777 /tmp/.npm /tmp/deployment