Mercurial > dive4elements > river
changeset 9798:e21697ba97f8 3.2.x
Add default configuration in case volume remains unused
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 15 Nov 2023 11:54:00 +0100 |
parents | 74bbf3c5d1ec |
children | d2a8025c3a7c |
files | docker/Dockerfile.gwt-client |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docker/Dockerfile.gwt-client Thu Nov 02 17:59:28 2023 +0100 +++ b/docker/Dockerfile.gwt-client Wed Nov 15 11:54:00 2023 +0100 @@ -59,8 +59,10 @@ RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml RUN sed -i 's/\(Connector port="8009"\)/\1 URIEncoding="UTF-8"/' \ /etc/tomcat/server.xml -RUN ln -sf /opt/d4e/river/gwt-client/config/context.xml /etc/tomcat -VOLUME /opt/d4e/river/gwt-client/config +ENV CONFIG_DIR /opt/d4e/river/gwt-client/config +ADD gwt-client/config $CONFIG_DIR +RUN ln -sf $CONFIG_DIR/context.xml /etc/tomcat +VOLUME $CONFIG_DIR # Deploy COPY --from=build /opt/d4e/river/gwt-client/target/gwt-client-*.war \