From f232ddbc89db2668151eb8c512c9db3666a13651 Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 21 Nov 2020 21:00:59 +0200 Subject: [PATCH] set --- Dockerfile | 2 +- startup.sh | 3 ++- supervisord-iot.conf | 8 ++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 53bcfc3..66cf8cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,7 @@ RUN mkdir -p /home/node/log \ && mkdir -p /home/node/crond \ && mkdir -p /home/node/run \ && mkdir -p /run/nginx \ -&& npm install pm2@latest -g \ +&& npm install pm2@latest express -g \ && chmod -R 755 /home/node \ && chmod +x /usr/local/bin/mpi_bootstrap \ && chmod +x /home/node/startup.sh \ diff --git a/startup.sh b/startup.sh index 378430a..25e2142 100644 --- a/startup.sh +++ b/startup.sh @@ -78,7 +78,8 @@ chmod +x /home/$USER/crond/playground-sync.sh read -r -d '' VAR <