Created
January 7, 2020 10:29
-
-
Save agonzalezro/5a05629816ec73d0fdee756871167d5f to your computer and use it in GitHub Desktop.
mermaid.cli Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM buildkite/puppeteer | |
RUN apt-get update&&apt-get install unzip | |
ADD https://github.com/knsv/mermaid/archive/master.zip . | |
RUN unzip master.zip && cd mermaid-master && yarn add mermaid.cli | |
ADD puppeteer-config.json /mermaid-master | |
WORKDIR /data | |
ENTRYPOINT [ "/mermaid-master/node_modules/.bin/mmdc", "-p", "/mermaid-master/puppeteer-config.json"]] | |
CMD ["--help"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"args": ["--no-sandbox"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment