1
0
mirror of https://github.com/Adam-Ant/mqtt-dash synced 2025-07-01 10:10:56 +00:00

Added ability to define config directory

This commit is contained in:
Adam Dodman
2016-12-28 14:12:19 +00:00
parent d92135a02e
commit 39564cbf35
2 changed files with 20 additions and 6 deletions

View File

@ -4,9 +4,8 @@ MAINTAINER "Adam Dodman <adam.dodman@gmx.com>"
RUN apk add --no-cache python py-pip \
&& pip install --upgrade pip \
&& pip install paho-mqtt scapy configparser \
&& mkdir dash \
&& ln -s /config/dash.cfg /dash/dash.cfg
&& mkdir dash
ADD main.py /dash/main.py
CMD ["python","/dash/main.py"]
CMD ["python","/dash/main.py","-c","/config"]