Dockerfile for generating diagrams (with https://diagrams.mingrammer.com/)
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
MAINTAINER Sascha Bajonczak <xbeejayx@hotmail.com> | |
FROM python:3.9 | |
RUN apt-get -qq update; \ | |
apt-get install -qqy \ | |
graphviz | |
RUN pip install diagrams | |
RUN mkdir -p data | |
COPY data/diagramdata.py ./data | |
WORKDIR data | |
CMD ["/data/diagramdata.py"] | |
ENTRYPOINT ["python3"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment