dockerfile 512 B

12345678910111213
  1. FROM zenika/alpine-chrome:with-node
  2. RUN set -x \
  3. git \
  4. && git clone --depth 1 --recursive https://github.com/gildas-lormeau/SingleFile \
  5. && cd SingleFile && npm install --production && cd cli && npm install --production \
  6. && chmod +x single-file \
  7. && echo
  8. WORKDIR /usr/src/app/SingleFile/cli
  9. ENTRYPOINT ["./single-file", "--browser-executable-path", "/usr/bin/chromium-browser", "--dump-content", "--browser-args", "[\"--no-sandbox\"]"]
  10. CMD ["https://github.com/Zenika/alpine-chrome"]