From 4e70982c011fc20a2b347ddb5032909e50a8d665 Mon Sep 17 00:00:00 2001 From: Lawrence Date: Sat, 13 Jan 2018 12:20:14 -0500 Subject: [PATCH] fix runtime issues --- docker/Dockerfile | 2 +- docker/startmeshcentral.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index df7ae084..b0ee0fa4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER Lawrence Stubbs COPY startmeshcentral.sh / RUN apt-get update \ - && apt-get install -y p7zip-full \ + && apt-get install -y p7zip-full which \ && wget -q http://www.7-zip.org/a/lzma1604.7z \ && 7z x lzma1604.7z -olzma1604 \ && cp lzma1604/bin/*.sfx /usr/lib/p7zip/ \ diff --git a/docker/startmeshcentral.sh b/docker/startmeshcentral.sh index 0e5a53d3..1ec1bd56 100644 --- a/docker/startmeshcentral.sh +++ b/docker/startmeshcentral.sh @@ -11,7 +11,7 @@ if [ $2 != "" ]; then fi su - meshcentral -cd /home/meshcentral +cd /home/meshcentral/ npmbin=$(which node) foreverbin=$(which forever) $npmbin install meshcentral