Thanks, I retried the docker command with that image, this time:
sudo docker run -d --name ws4channels --restart unless-stopped --memory="400m" --cpus="1" -p 9798:9798 -e ZIP_CODE=90036 -e WS4KP_HOST=10.0.1.21 -e WS4KP_PORT=9090 ghcr.io/rice9797/ws4channels@sha256:f1bb086fb7e54678909d3f456d4affd97c566d072e1765b2002dba7acb942e46
...which seemed to run successfully, but then I saw this in its logs:
Running with 1 CPU cores, 400MB RAM
Streaming server running on port 9798
Puppeteer old Headless deprecation warning:
In the near future `headless: true` will default to the new Headless mode
for Chrome instead of the old Headless implementation. For more
information, please see https://developer.chrome.com/articles/new-headless/.
Consider opting in early by passing `headless: "new"` to `puppeteer.launch()`
If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.
/app/node_modules/@puppeteer/browsers/lib/cjs/launch.js:267
reject(new Error([
^
Error: Failed to launch the browser process!
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
TROUBLESHOOTING: https://pptr.dev/troubleshooting
at Interface.onClose (/app/node_modules/@puppeteer/browsers/lib/cjs/launch.js:267:24)
at Interface.emit (node:events:530:35)
at Interface.close (node:internal/readline/interface:534:10)
at Socket.onend (node:internal/readline/interface:260:10)
at Socket.emit (node:events:530:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Node.js v22.18.0
I see @KineticMan's post above too (thanks!) but it went a bit over my head. Any extra assistance on the best way to get this deployed for testing on an M1 Mac running Docker Desktop and portainer would be greatly appreciated.
!