Skip to content

Commit 9db43cf

Browse files
author
Ric Harvey
committed
Enabling npm installs
1 parent 2e26c03 commit 9db43cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

start.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ fi
1515
procs=$(cat /proc/cpuinfo |grep processor | wc -l)
1616
sed -i -e "s/worker_processes 5/worker_processes $procs/" /etc/nginx/nginx.conf
1717

18+
# install npm requirements
19+
npm install /usr/share/nginx/html/package.json
20+
1821
# Very dirty hack to replace variables in code with ENVIRONMENT values
1922

2023
for i in $(env)

0 commit comments

Comments
 (0)