Mercurial > lada > lada-client
diff Dockerfile @ 1018:418e25969a16
Serve roles on different ports for easier testing.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 04 Feb 2016 14:16:43 +0100 |
parents | c4c95d340ebe |
children | 3ef492b5240b |
line wrap: on
line diff
--- a/Dockerfile Thu Feb 04 12:08:21 2016 +0100 +++ b/Dockerfile Thu Feb 04 14:16:43 2016 +0100 @@ -4,7 +4,8 @@ # Build with e.g. `docker build --force-rm=true -t koala/lada_client .' # Run from the repository root-dir with e.g. # `docker run --name lada_client -# --link lada_wildfly:lada-server -p 8182:80 -d koala/lada_client' +# --link lada_wildfly:lada-server +# -p 8180-8182:80-82 -d koala/lada_client' # # The linked container may be created from the Dockerfile in the lada-server # repository. @@ -34,4 +35,6 @@ RUN ln -sf $PWD/custom-httpd.conf $HTTPD_PREFIX/conf/httpd.conf RUN ln -sf $PWD/custom-vhosts.conf $HTTPD_PREFIX/conf/extra/httpd-vhosts.conf +EXPOSE 80 81 82 83 + CMD ["httpd-foreground"]