Newer
Older
dhcp2MQTT / docker / Dockerfile
FROM alpine

MAINTAINER Osbert Feng

# since 2019-09-05
MAINTAINER Pascal Gollor <kalle@pgollor.de>

# environment variables
ENV DASH_HOME /srv/dash

RUN apk update
RUN apk add scapy tcpdump py2-paho-mqtt
RUN rm -rf /var/cache/apk/*

# working directory
WORKDIR $DASH_HOME

# copy files
ADD dash-listen.py ./dash-listen.py
#COPY docker-entrypoint.sh /
#RUN chmod +x /docker-entrypoint.sh

#ENTRYPOINT ["/docker-entrypoint.sh"]
CMD python ./dash-listen.py