gildas-lormeau / single-file-cli

CLI tool for saving a faithful copy of a complete web page in a single HTML file (based on SingleFile)
GNU Affero General Public License v3.0
644 stars 63 forks source link

single-file hangs in docker node:alpine #105

Closed faridanthony closed 4 months ago

faridanthony commented 4 months ago

Hello, thank you for the amazing lib! I'm trying to get it running within a docker container but the command seems to hang indefinitely without and output or error.

single-file "https://www.wikipedia.org" 7cd1037d-8066-45b8-83cd-05384b1caa06.html --browser-executable-path=/usr/bin/chromium --browser-args=[\"--headless=new\",\"--no-sandbox\",\"--no-zygote\",\"--disable-dev-shm-usage\",\"--disable-software-rasterizer\",\"--run-all-compositor-stages-before-draw\",\"--hide-scrollbars\",\"--autoplay-policy=no-user-gesture-required\",\"--no-first-run\",\"--use-fake-ui-for-media-stream\",\"--use-fake-device-for-media-stream\",\"--disable-sync\",\"--window-size=1440,2000\"]

I'm not sure how to debug this. Any help would be greatly appreciated.

faridanthony commented 4 months ago

This might actually be due to docker/mac. Closing the issue until I have more details.

gildas-lormeau commented 4 months ago

No problem ;)