mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-18 10:59:00 +02:00
changes for iobroker setup
This commit is contained in:
@@ -29,8 +29,8 @@ RUN chmod +x iobroker_startup.sh
|
|||||||
|
|
||||||
WORKDIR /opt/iobroker/
|
WORKDIR /opt/iobroker/
|
||||||
|
|
||||||
RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host
|
RUN npm install iobroker --unsafe-perm && npm i --production --unsafe-perm
|
||||||
RUN update-rc.d iobroker.sh remove
|
RUN update-rc.d iobroker.sh remove && echo $(hostname) > .install_host
|
||||||
RUN npm install node-gyp -g
|
RUN npm install node-gyp -g
|
||||||
|
|
||||||
CMD ["sh", "/opt/scripts/iobroker_startup.sh"]
|
CMD ["sh", "/opt/scripts/iobroker_startup.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user