Skip to content

Commit c269572

Browse files
Merge pull request #417 from aj-stein-nist/416-puppeteer-for-mermaid-support
Update Dockerfile to install Chromium for Puppeteer support
2 parents ce2180e + 7fc3237 commit c269572

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docker/math/Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,11 @@ RUN set -e; \
2727
rm -rf "$tmp"; \
2828
apk del .locale_build
2929

30-
RUN apk add npm && npm install -g mathjax-node-cli
30+
RUN apk add --no-cache \
31+
chromium \
32+
nss \
33+
freetype \
34+
harfbuzz \
35+
ttf-freefont \
36+
yarn && \
37+
npm install -g mathjax-node-cli

0 commit comments

Comments
 (0)