FanLedCtrl/mqttclient/Dockerfile
2024-12-07 14:25:04 +01:00

8 lines
301 B
Docker

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.