Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
1017:d8e74bd89d6b | 1018:418e25969a16 |
---|---|
2 # Build and run LADA-client | 2 # Build and run LADA-client |
3 # | 3 # |
4 # Build with e.g. `docker build --force-rm=true -t koala/lada_client .' | 4 # Build with e.g. `docker build --force-rm=true -t koala/lada_client .' |
5 # Run from the repository root-dir with e.g. | 5 # Run from the repository root-dir with e.g. |
6 # `docker run --name lada_client | 6 # `docker run --name lada_client |
7 # --link lada_wildfly:lada-server -p 8182:80 -d koala/lada_client' | 7 # --link lada_wildfly:lada-server |
8 # -p 8180-8182:80-82 -d koala/lada_client' | |
8 # | 9 # |
9 # The linked container may be created from the Dockerfile in the lada-server | 10 # The linked container may be created from the Dockerfile in the lada-server |
10 # repository. | 11 # repository. |
11 # | 12 # |
12 # The LADA-application will be available under http://yourdockerhost:8182 | 13 # The LADA-application will be available under http://yourdockerhost:8182 |
32 # httpd setup | 33 # httpd setup |
33 # | 34 # |
34 RUN ln -sf $PWD/custom-httpd.conf $HTTPD_PREFIX/conf/httpd.conf | 35 RUN ln -sf $PWD/custom-httpd.conf $HTTPD_PREFIX/conf/httpd.conf |
35 RUN ln -sf $PWD/custom-vhosts.conf $HTTPD_PREFIX/conf/extra/httpd-vhosts.conf | 36 RUN ln -sf $PWD/custom-vhosts.conf $HTTPD_PREFIX/conf/extra/httpd-vhosts.conf |
36 | 37 |
38 EXPOSE 80 81 82 83 | |
39 | |
37 CMD ["httpd-foreground"] | 40 CMD ["httpd-foreground"] |