From c80d37ac8bdf349570a63edf67dcf23c238b244e Mon Sep 17 00:00:00 2001 From: Florentijn Cornet Date: Tue, 28 Jun 2022 12:06:04 +0200 Subject: [PATCH] change entry --- Dockerfile | 5 +++-- config.yaml | 2 +- run.sh | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 85deae5..8f33087 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -ARG BUILD_FROM=ghcr.io/home-assistant/amd64-base:3.15 +ARG BUILD_FROM + # =ghcr.io/home-assistant/amd64-base:3.15 FROM $BUILD_FROM ENV LANG C.UTF-8 @@ -19,4 +20,4 @@ RUN cd /app && \ npm install \ npm run build -ENTRYPOINT ["/run.sh"] +ENTRYPOINT ["/app/run.sh"] diff --git a/config.yaml b/config.yaml index cd95b23..f056c2f 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,5 @@ --- -version: "0.3.2" +version: "0.3.3" slug: ps5_mqtt name: PS5 MQTT description: Control Sony PlayStation 5 devices via MQTT diff --git a/run.sh b/run.sh index cd77078..4625bf3 100644 --- a/run.sh +++ b/run.sh @@ -1,7 +1,7 @@ #!/usr/bin/with-contenv bashio set -e -node create-credentials.js $(bashio::config "ps5_credentials") ~/.config/playactor/credentials.json +node app/create-credentials.js $(bashio::config "ps5_credentials") ~/.config/playactor/credentials.json MQTT_HOST=$(bashio::config "mqtt.host") MQTT_PORT=$(bashio::config "mqtt.port")