MQTT Communication established
This commit is contained in:
8
mqttclient/Dockerfile
Normal file
8
mqttclient/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM python:3.9
|
||||
# Add sourcecode files
|
||||
ADD fanATserial2mqtt.py /root/
|
||||
# handle dependencies
|
||||
RUN pip install --no-cache-dir --upgrade pip && \
|
||||
pip install --no-cache-dir paho-mqtt pyserial
|
||||
CMD ["python", "/root/fanATserial2mqtt.py"]
|
||||
# Or enter the name of your unique directory and parameter set.
|
Reference in New Issue
Block a user