I've experimented with a few docker containers that have Google Chrome installed, attempting to run them in headless mode. Some of the images I tried are:
selenium/standalone-chrome
zenika/alpine-chrome
Installed nvm and all necessary packages
However, when I try to run commands for testing or building, it just hangs indefinitely.
npm test
or
npm run build
Here is the configuration in testee.json
{
"port": 3621,
"root": ".",
"reporter": "Spec",
"timeout": 120,
"delay": 1000,
"tunnel": {
"type": "local"
},
"launch": {
"type": "local"
},
"browsers": [{
"browser": "chrome",
"args": [
"--headless",
"--disable-gpu",
"--remote-debugging-port=9222"
]
}]
}