| 123456789101112 |
- FROM zenika/alpine-chrome:with-node
- RUN set -x \
- git \
- && git clone --depth 1 --recursive https://github.com/gildas-lormeau/SingleFile \
- && cd SingleFile && npm install --production && cd cli && npm install --production \
- && chmod +x single-file \
- && echo
-
- WORKDIR /usr/src/app/SingleFile/cli
- ENTRYPOINT ["./single-file", "--browser-executable-path", "/usr/bin/chromium-browser", "--dump-content", "--browser-args", "[\"--no-sandbox\"]"]
|