Optimize: Avoid Chromium redundancy (Docker)

This commit is contained in:
Steven Lee 2023-08-03 09:16:17 +00:00
parent 38982ec958
commit 7b9c85b1a2
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ RUN apt update &&\
# Install Mermaid CLI globally
ENV CHROME_BIN="/usr/bin/chromium" \
AM_I_IN_A_DOCKER_CONTAINER="true"
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
RUN npm install -g @mermaid-js/mermaid-cli &&\
npm cache clean --force