mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 08:48:54 +00:00
Fix rendering of non-sequence diagrams
Although sequence diagrams render fine without, any(?) other diagram type requires the `GRAPHVIZ_DOT` environment variable to be set for the server to produce usable output.
This commit is contained in:
parent
31a42da6bb
commit
3ce59edba7
@ -19,4 +19,6 @@ RUN apt-get update && \
|
||||
|
||||
USER jetty
|
||||
|
||||
ENV GRAPHVIZ_DOT=/usr/bin/dot
|
||||
|
||||
COPY --from=builder /app/target/plantuml.war /var/lib/jetty/webapps/ROOT.war
|
||||
|
@ -15,5 +15,7 @@ RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends graphviz fonts-wqy-zenhei && \
|
||||
apt-get clean
|
||||
|
||||
ENV GRAPHVIZ_DOT=/usr/bin/dot
|
||||
|
||||
RUN rm -rf /usr/local/tomcat/webapps/ROOT
|
||||
COPY --from=builder /app/target/plantuml.war /usr/local/tomcat/webapps/ROOT.war
|
||||
|
Loading…
Reference in New Issue
Block a user