Mercurial > dive4elements > river
comparison docker/Dockerfile.gwt-client @ 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 |
comparison
equal
deleted
inserted
replaced
9797:74bbf3c5d1ec | 9798:e21697ba97f8 |
---|---|
57 | 57 |
58 # Configure tomcat | 58 # Configure tomcat |
59 RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml | 59 RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml |
60 RUN sed -i 's/\(Connector port="8009"\)/\1 URIEncoding="UTF-8"/' \ | 60 RUN sed -i 's/\(Connector port="8009"\)/\1 URIEncoding="UTF-8"/' \ |
61 /etc/tomcat/server.xml | 61 /etc/tomcat/server.xml |
62 RUN ln -sf /opt/d4e/river/gwt-client/config/context.xml /etc/tomcat | 62 ENV CONFIG_DIR /opt/d4e/river/gwt-client/config |
63 VOLUME /opt/d4e/river/gwt-client/config | 63 ADD gwt-client/config $CONFIG_DIR |
64 RUN ln -sf $CONFIG_DIR/context.xml /etc/tomcat | |
65 VOLUME $CONFIG_DIR | |
64 | 66 |
65 # Deploy | 67 # Deploy |
66 COPY --from=build /opt/d4e/river/gwt-client/target/gwt-client-*.war \ | 68 COPY --from=build /opt/d4e/river/gwt-client/target/gwt-client-*.war \ |
67 /usr/share/tomcat/webapps/d4e-river.war | 69 /usr/share/tomcat/webapps/d4e-river.war |
68 | 70 |