diff --git a/.ebextensions/00_change_npm_permissions.config b/.ebextensions/00_change_npm_permissions.config new file mode 100644 index 0000000..89ddbc7 --- /dev/null +++ b/.ebextensions/00_change_npm_permissions.config @@ -0,0 +1,8 @@ +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 \ No newline at end of file