From 68acd124f9453d123b878c5e86ccc1a7938a25f6 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Sat, 16 Dec 2023 04:24:11 +0100 Subject: [PATCH] Update config in Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3ced1dd5..a3480410 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ FROM debian:bullseye-slim COPY --from=builder /usr/local/cargo/bin/hms-mqtt-publish /usr/local/bin/hms-mqtt-publish # Generate the config file from given environment variables -RUN echo "inverter_host = \"$INVERTER_HOST\" \n\n[home_assistent] \nhost = \"$MQTT_BROKER_HOST\"\nusername = \"$MQTT_USERNAME\"\npassword = \"$MQTT_PASSWORD\"\nport = $MQTT_PORT\n" > config.toml +RUN echo "inverter_host = \"$INVERTER_HOST\" \n\n[home_assistant] \nhost = \"$MQTT_BROKER_HOST\"\nusername = \"$MQTT_USERNAME\"\npassword = \"$MQTT_PASSWORD\"\nport = $MQTT_PORT\n" > config.toml # Run the application CMD hms-mqtt-publish