diff --git a/docker/containers/rbn-to-mqtt.dockerfile b/docker/containers/rbn-to-mqtt.dockerfile index a91e7a0..a42bfd1 100644 --- a/docker/containers/rbn-to-mqtt.dockerfile +++ b/docker/containers/rbn-to-mqtt.dockerfile @@ -1,5 +1,14 @@ FROM python:3.13 + +# External config ENV MODE=cw ENV MQTT_HOST= + +# Dependencies +RUN pip install paho-mqtt + +# The script itself COPY ./scripts/rbn-to-mqtt /rbn-to-mqtt + +# Run config CMD ["python", "/rbn-to-mqtt", "${MODE}", "${MQTT_HOST}"] \ No newline at end of file