Use absolute path to Chromium binary in container entrypoint

This commit is contained in:
Antonin Stefanutti 2024-07-05 15:19:48 +02:00
parent 489f9016dc
commit bcc932c0a5
No known key found for this signature in database
GPG Key ID: 867EBC6DCE8E6AA2

View File

@ -65,6 +65,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", "chromium-browser", "--chrome-arg=--no-sandbox"]
ENTRYPOINT ["node", "/decktape/decktape.js", "--chrome-path", "/usr/bin/chromium-browser", "--chrome-arg=--no-sandbox"]
CMD ["-h"]