mirror of
https://github.com/Adam-Ant/mqtt-dash
synced 2024-12-20 14:44:34 +00:00
13 lines
287 B
Docker
13 lines
287 B
Docker
FROM alpine:3.4
|
|
MAINTAINER "Adam Dodman <adam.dodman@gmx.com>"
|
|
|
|
RUN apk add --no-cache python py-pip \
|
|
&& pip install --upgrade pip \
|
|
&& pip install paho-mqtt scapy \
|
|
&& mkdir dash \
|
|
&& ln -s /config/dash.cfg /dash/dash.cfg
|
|
|
|
ADD main.py /dash/main.py
|
|
|
|
CMD ["python","/dash/main.py"]
|