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