Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dockerfile for generating diagrams (with https://diagrams.mingrammer.com/)
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