Mercurial > lada > lada-server
diff Dockerfile @ 1202:61106ead36fc
Separate build/deploy and javadoc.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 01 Dec 2016 16:36:04 +0100 |
parents | d56706c33269 |
children | 28a39466e4eb |
line wrap: on
line diff
--- a/Dockerfile Thu Dec 01 16:34:23 2016 +0100 +++ b/Dockerfile Thu Dec 01 16:36:04 2016 +0100 @@ -74,11 +74,13 @@ # Build and deploy LADA-server # ENV LADA_VERSION 2.4.1-SNAPSHOT -RUN mvn clean compile package javadoc:javadoc -RUN mv target/lada-server-$LADA_VERSION.war $JBOSS_HOME/standalone/deployments -RUN touch $JBOSS_HOME/standalone/deployments/lada-server-$LADA_VERSION.war.dodeploy +RUN mvn clean compile package && \ + mv target/lada-server-$LADA_VERSION.war \ + $JBOSS_HOME/standalone/deployments && \ + touch $JBOSS_HOME/standalone/deployments/lada-server-$LADA_VERSION.war.dodeploy ##configure lighttpd for apidoc +RUN mvn javadoc:javadoc RUN sed -i 's|server.document-root = "/var/www/html"|server.document-root = "/usr/src/lada-server/target/site/apidocs"|' /etc/lighttpd/lighttpd.conf ## Start the webserver manually, when the container is started