From 55012580875ef1e9e62abea75a5003866f4dc046 Mon Sep 17 00:00:00 2001 From: Arnaud Roques Date: Fri, 30 Nov 2018 22:30:03 +0100 Subject: [PATCH] Revert "Make the server's BASE_URL configurable" This reverts commit 055facac9ea023a9c88f094eba4d734d48579336. --- Dockerfile.jetty | 3 +-- Dockerfile.tomcat | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile.jetty b/Dockerfile.jetty index 1a06a5b..f1d939c 100644 --- a/Dockerfile.jetty +++ b/Dockerfile.jetty @@ -21,5 +21,4 @@ USER jetty ENV GRAPHVIZ_DOT=/usr/bin/dot -ARG BASE_URL=plantuml -COPY --from=builder /app/target/plantuml.war /var/lib/jetty/webapps/$BASE_URL.war +COPY --from=builder /app/target/plantuml.war /var/lib/jetty/webapps/ROOT.war diff --git a/Dockerfile.tomcat b/Dockerfile.tomcat index 9024999..d0679ab 100644 --- a/Dockerfile.tomcat +++ b/Dockerfile.tomcat @@ -17,6 +17,5 @@ RUN apt-get update && \ ENV GRAPHVIZ_DOT=/usr/bin/dot -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 +RUN rm -rf /usr/local/tomcat/webapps/ROOT +COPY --from=builder /app/target/plantuml.war /usr/local/tomcat/webapps/ROOT.war