# HG changeset patch # User Tom Gottfried # Date 1661784103 -7200 # Node ID df5c6f3ef8933003eddc9f510d34e15dc43d35ce # Parent 4fabdc8ed97b48889d7370bea6843406e0a942f7 Do not run tomcat as root diff -r 4fabdc8ed97b -r df5c6f3ef893 docker/Dockerfile.gwt-client --- a/docker/Dockerfile.gwt-client Mon Aug 29 15:55:36 2022 +0200 +++ b/docker/Dockerfile.gwt-client Mon Aug 29 16:41:43 2022 +0200 @@ -39,7 +39,8 @@ mv river/gwt-client/target/gwt-client-*.war \ /usr/share/tomcat/webapps/d4e-river.war -ADD docker/flys_user_file /root/ +USER tomcat +ADD docker/flys_user_file /usr/share/tomcat/ EXPOSE 8080 CMD ["/usr/libexec/tomcat/server", "start"]