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", "--filename-template=''", "--browser-args", "[\"--no-sandbox\"]"] CMD ["https://github.com/Zenika/alpine-chrome"]