1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2025-01-31 09:38:27 +00:00

Revert "Revert "Make the server's BASE_URL configurable""

This reverts commit 55012580875ef1e9e62abea75a5003866f4dc046.
This commit is contained in:
Olaf Meeuwissen 2018-12-03 18:30:47 +09:00
parent 5501258087
commit 38772dedd3
2 changed files with 5 additions and 3 deletions

View File

@ -21,4 +21,5 @@ USER jetty
ENV GRAPHVIZ_DOT=/usr/bin/dot
COPY --from=builder /app/target/plantuml.war /var/lib/jetty/webapps/ROOT.war
ARG BASE_URL=plantuml
COPY --from=builder /app/target/plantuml.war /var/lib/jetty/webapps/$BASE_URL.war

View File

@ -17,5 +17,6 @@ RUN apt-get update && \
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
ARG BASE_URL=plantuml
RUN rm -rf /usr/local/tomcat/webapps/$BASE_URL
COPY --from=builder /app/target/plantuml.war /usr/local/tomcat/webapps/$BASE_URL.war