mirror of
https://github.com/len0rd/personal-website.git
synced 2025-09-07 22:57:46 -04:00
use drawio diagram embedding
This commit is contained in:
parent
9280ecda98
commit
0af037b16a
11 changed files with 6 additions and 234 deletions
17
Dockerfile
17
Dockerfile
|
@ -4,23 +4,6 @@ ADD pip-requirements.txt /tmp/pip-requirements.txt
|
|||
RUN pip install -r /tmp/pip-requirements.txt \
|
||||
&& rm /tmp/pip-requirements.txt
|
||||
|
||||
# install drawio for doc diagram gen
|
||||
ENV DRAWIO_VERSION "21.1.2"
|
||||
RUN apt update \
|
||||
&& apt install -yq --no-install-recommends \
|
||||
xvfb \
|
||||
wget \
|
||||
libnotify4 \
|
||||
libgbm1 \
|
||||
libasound2 \
|
||||
libxss1 \
|
||||
libsecret-1-0 \
|
||||
&& wget https://github.com/jgraph/drawio-desktop/releases/download/v${DRAWIO_VERSION}/drawio-amd64-${DRAWIO_VERSION}.deb \
|
||||
&& apt install -y ./drawio-amd64-${DRAWIO_VERSION}.deb \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf drawio-amd64-${DRAWIO_VERSION}.deb
|
||||
ENV XVFB_DISPLAY ":42"
|
||||
|
||||
FROM dev as prod
|
||||
|
||||
# Bundle app source
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue