view Dockerfile @ 1033:e4b6b6c5fb89

Use 'owner' attribute to set messung grid and button RO status.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 18 Feb 2016 11:19:25 +0100
parents 418e25969a16
children 3ef492b5240b
line wrap: on
line source
#
# Build and run LADA-client
#
# 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 8180-8182:80-82 -d koala/lada_client'
#
# The linked container may be created from the Dockerfile in the lada-server
# repository.
#
# The LADA-application will be available under http://yourdockerhost:8182
#
# Add `-v $PWD:/usr/local/apache2/htdocs/' to the run-command if you want to
# test your local changes (you'll have to run ./install-dependencies.sh again).
#

FROM httpd:2.4
MAINTAINER tom.gottfried@intevation.de

RUN apt-get update -y && apt-get install -y curl unzip python

ADD . /usr/local/apache2/htdocs/
WORKDIR /usr/local/apache2/htdocs/

#
# Install dependencies
#
RUN ./install-dependencies.sh

#
# httpd setup
#
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"]

http://lada.wald.intevation.org