Skip to content

Instantly share code, notes, and snippets.

@SBajonczak
Created September 30, 2021 11:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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