Mercurial > lada > lada-client
view Dockerfile_mini @ 1346:8742d020c685
Get kta code to display the correct value in ortszuordnung grid.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 06 Feb 2017 12:02:37 +0100 |
parents | a152353eba26 |
children | dc5851d433e8 |
line wrap: on
line source
# # Build and run LADA-client (minified version) # # Build with e.g. `docker build --force-rm=true -t koala/lada_client_mini .' # Run from the repository root-dir with e.g. # `docker run --name lada_client # --link lada_wildfly:lada-server # -p 8180-8184:80-84 -d koala/lada_client_mini' # # 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:/var/www/html/' to the run-command if you want to # test your local changes (you'll have to run ./install-dependencies.sh again). # FROM debian:jessie MAINTAINER mstanko@bfs.de RUN apt-get update -y && apt-get install -y curl unzip python apache2 ruby openjdk-7-jre # # Install sencha cmd # RUN curl -O https://cdn.sencha.com/cmd/4.0.5.87/SenchaCmd-4.0.5.87-linux-x64.run.zip && unzip SenchaCmd-4.0.5.87-linux-x64.run.zip && chmod +x ./SenchaCmd-4.0.5.87-linux-x64.run && ./SenchaCmd-4.0.5.87-linux-x64.run --mode unattended ENV PATH=~/bin/Sencha/Cmd/4.0.5.87:$PATH ENV SENCHA_CMD_3_0_0="~/bin/Sencha/Cmd/4.0.5.87" ADD . /tmp/lada-client WORKDIR /tmp/lada-client # # Install dependencies # RUN ./install-dependencies.sh # # compile and minify application # ENV VERSION=2.4.1 RUN ./build.sh RUN cd /var/www/html && cp -r /tmp/lada-client/lada-client-$VERSION/* . # # httpd setup # RUN a2enmod proxy RUN a2enmod proxy_http RUN a2enmod headers RUN ln -sf $PWD/custom-vhosts.conf /etc/apache2/conf-available/lada.conf RUN a2enconf lada EXPOSE 80 81 82 83 84 CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]