mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 10:29:00 +02:00
Create dockerfile
This commit is contained in:
22
dockerfile
Normal file
22
dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM debian:latest
|
||||
|
||||
MAINTAINER Andre Germann <info@buanet.de>
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
RUN apt-get update && apt-get install -y apt-utils curl
|
||||
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash
|
||||
RUN apt-get install -y build-essential python nodejs
|
||||
|
||||
RUN mkdir -p /opt/iobroker/ && chmod 777 /opt/iobroker/
|
||||
|
||||
WORKDIR /opt/iobroker/
|
||||
|
||||
RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host
|
||||
|
||||
ADD scripts/startup.sh startup.sh
|
||||
RUN chmod +x startup.sh
|
||||
|
||||
CMD /opt/iobroker/startup.sh
|
||||
|
||||
ENV DEBIAN_FRONTEND teletype
|
||||
Reference in New Issue
Block a user