From 2d6f44a3fb450f16b706c10dc4881fd3cdd6775e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 7 Dec 2024 15:50:20 +0100 Subject: [PATCH] Install playwright https://github.com/alexbelgium/hassio-addons/issues/1655 --- free_games_claimer/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/free_games_claimer/Dockerfile b/free_games_claimer/Dockerfile index 75a61fe59..9431d9ca1 100644 --- a/free_games_claimer/Dockerfile +++ b/free_games_claimer/Dockerfile @@ -70,7 +70,10 @@ RUN \ sed -i "s|/fgc|/data|g" /usr/local/bin/docker-entrypoint.sh && \ # Run scripts only once sed -i "1a if [ -f /done ]; then exit 0; fi && touch /done" /ha_entrypoint.sh && \ - sed -i "s=x11vnc=[[ \"\$(ps aux | grep \"x11vnc\" | grep -v grep)\" ]] || x11vnc=g" /usr/local/bin/docker-entrypoint.sh + sed -i "s=x11vnc=[[ \"\$(ps aux | grep \"x11vnc\" | grep -v grep)\" ]] || x11vnc=g" /usr/local/bin/docker-entrypoint.sh && \ + # Update playwright + npx playwright install-deps && \ + npx playwright install WORKDIR /data ENTRYPOINT [ "/usr/bin/env" ]