fix: Add the --disable-gpu option for in-container Chrome

This commit is contained in:
Antonin Stefanutti 2024-08-15 19:09:24 +02:00 committed by Antonin Stefanutti
parent 7034e4ffe7
commit 22326d4bfe

View File

@ -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"]