From 2983f1f63d72039bc86b571bcd2a5abf6e6944f1 Mon Sep 17 00:00:00 2001 From: Andre Date: Fri, 7 Dec 2018 14:19:26 +0100 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90b972a..d876a49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,8 @@ ENV LANG de_DE.UTF-8 RUN cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime ENV TZ Europe/Berlin -RUN curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh | bash - +RUN mkdir -p /opt/iobroker/ && chmod 777 /opt/iobroker/ +RUN mkdir -p /opt/scripts/ && chmod 777 /opt/scripts/ WORKDIR /opt/scripts/ @@ -28,7 +29,7 @@ RUN chmod +x iobroker_startup.sh WORKDIR /opt/iobroker/ -RUN echo $(hostname) > .install_host +RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host RUN update-rc.d iobroker.sh remove RUN npm install node-gyp -g