tom@954: # tom@954: # Build and run LADA-client tom@954: # tom@954: # Build with e.g. `docker build --force-rm=true -t koala/lada_client .' tom@954: # Run from the repository root-dir with e.g. tom@986: # `docker run --name lada_client tom@1018: # --link lada_wildfly:lada-server tom@1041: # -p 8180-8184:80-84 -d koala/lada_client' tom@954: # tom@954: # The linked container may be created from the Dockerfile in the lada-server tom@954: # repository. tom@954: # tom@954: # The LADA-application will be available under http://yourdockerhost:8182 tom@954: # tom@986: # Add `-v $PWD:/usr/local/apache2/htdocs/' to the run-command if you want to tom@986: # test your local changes (you'll have to run ./install-dependencies.sh again). tom@986: # tom@954: tom@954: FROM httpd:2.4 tom@954: MAINTAINER tom.gottfried@intevation.de tom@954: tom@954: RUN apt-get update -y && apt-get install -y curl unzip python tom@954: tom@954: ADD . /usr/local/apache2/htdocs/ tom@954: WORKDIR /usr/local/apache2/htdocs/ tom@954: tom@954: # tom@954: # Install dependencies tom@954: # tom@954: RUN ./install-dependencies.sh tom@954: tom@954: # tom@954: # httpd setup tom@954: # tom@954: RUN ln -sf $PWD/custom-httpd.conf $HTTPD_PREFIX/conf/httpd.conf tom@954: RUN ln -sf $PWD/custom-vhosts.conf $HTTPD_PREFIX/conf/extra/httpd-vhosts.conf tom@954: tom@1041: EXPOSE 80 81 82 83 84 tom@1018: tom@954: CMD ["httpd-foreground"]