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:
parent
5501258087
commit
38772dedd3
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user