From 22326d4bfe1793860cd38df962a67c4bbefe6b66 Mon Sep 17 00:00:00 2001 From: Antonin Stefanutti Date: Thu, 15 Aug 2024 19:09:24 +0200 Subject: [PATCH] fix: Add the --disable-gpu option for in-container Chrome --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9d057b5..2dc96c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,6 +64,6 @@ USER node # https://github.com/jessfraz/dockerfiles/issues/65 # https://github.com/jessfraz/dockerfiles/issues/156 # https://github.com/jessfraz/dockerfiles/issues/341 -ENTRYPOINT ["node", "/decktape/decktape.js", "--chrome-path", "/usr/bin/chromium-browser", "--chrome-arg=--no-sandbox"] +ENTRYPOINT ["node", "/decktape/decktape.js", "--chrome-path", "/usr/bin/chromium-browser", "--chrome-arg=--no-sandbox", "--chrome-arg=--disable-gpu"] CMD ["-h"]