Skip to content

Commit b631784

Browse files
author
Ric Harvey
committed
fixing npm install
1 parent 2844be5 commit b631784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ procs=$(cat /proc/cpuinfo |grep processor | wc -l)
1616
sed -i -e "s/worker_processes 5/worker_processes $procs/" /etc/nginx/nginx.conf
1717

1818
# install npm requirements
19-
npm install /usr/share/nginx/html/package.json
19+
cd /usr/share/nginx/html/
20+
npm install
2021

2122
# Very dirty hack to replace variables in code with ENVIRONMENT values
2223

0 commit comments

Comments
 (0)