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:
@ -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"]
|
||||
|
Reference in New Issue
Block a user