comparison docker/Dockerfile.gwt-client @ 9747:cfc0aab9947f 3.2.x

Enable bind-mounting client configuration in docker container
author Tom Gottfried <tom@intevation.de>
date Mon, 05 Sep 2022 17:55:32 +0200
parents d1dcb8d28b0d
children cd07130ded8d
comparison
equal deleted inserted replaced
9746:1a1e627b1483 9747:cfc0aab9947f
39 mv river/gwt-client/target/gwt-client-*.war \ 39 mv river/gwt-client/target/gwt-client-*.war \
40 /usr/share/tomcat/webapps/d4e-river.war 40 /usr/share/tomcat/webapps/d4e-river.war
41 41
42 # Configure tomcat 42 # Configure tomcat
43 RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml 43 RUN sed -i '/Connector port="8080"/a \URIEncoding="UTF-8"' /etc/tomcat/server.xml
44 RUN ln -sf /opt/d4e/river/gwt-client/config/context.xml /etc/tomcat
45 VOLUME /opt/d4e/river/gwt-client/config
44 46
45 USER tomcat 47 USER tomcat
46 ADD docker/flys_user_file /usr/share/tomcat/ 48 ADD docker/flys_user_file /usr/share/tomcat/
47 49
48 EXPOSE 8080 50 EXPOSE 8080

http://dive4elements.wald.intevation.org