feat: support deep base URLs
This commit is contained in:
committed by
PlantUML
parent
6d90304fd7
commit
afd8bbcceb
@@ -17,14 +17,13 @@ RUN apt-get update && \
|
||||
&& \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY docker-entrypoint.sh /entrypoint.sh
|
||||
COPY docker-entrypoint.tomcat.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENV BASE_URL=ROOT \
|
||||
WEBAPP_PATH=$CATALINA_HOME/webapps
|
||||
ENV WEBAPP_PATH=$CATALINA_HOME/webapps
|
||||
RUN rm -rf $WEBAPP_PATH && \
|
||||
mkdir -p $WEBAPP_PATH
|
||||
COPY --from=builder /app/target/plantuml.war $WEBAPP_PATH/ROOT.war
|
||||
COPY --from=builder /app/target/plantuml.war /plantuml.war
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["catalina.sh", "run"]
|
||||
|
||||
Reference in New Issue
Block a user