changes for iobroker setup

This commit is contained in:
Andre
2018-12-07 17:10:55 +01:00
parent 2983f1f63d
commit f2e6780456

View File

@@ -29,8 +29,8 @@ RUN chmod +x iobroker_startup.sh
WORKDIR /opt/iobroker/
RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host
RUN update-rc.d iobroker.sh remove
RUN npm install iobroker --unsafe-perm && npm i --production --unsafe-perm
RUN update-rc.d iobroker.sh remove && echo $(hostname) > .install_host
RUN npm install node-gyp -g
CMD ["sh", "/opt/scripts/iobroker_startup.sh"]