Mercurial > gemma
view docker/Dockerfile.backend @ 997:26ca04caa330
fix: Setting selected Bottleneck null caused Nullpointer Exception.
The computed property "selected Bottleneck" returns null, when no
Bottleneck was found.
Clicking on the map triggers as of now an "identify" operation.
If no bottleneck is selected, the result of the property is null.
In turn is referencing selectedBottleneck in templates screwed.
For now: the text is only changed, when a new Bottleneck is selected.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 22 Oct 2018 14:53:20 +0200 |
parents | 8f075ae6cf33 |
children | ce24990b3d5c |
line wrap: on
line source
FROM ubuntu:bionic LABEL authors="tom.gottfried@intevation.de" RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list RUN apt-get update &&\ apt-get -y install --no-install-recommends \ make git golang-go golang-github-gorilla-context-dev WORKDIR /opt/gemma # Copy only backend stuff COPY 3rdpartylibs.sh ./ COPY pkg ./pkg/ COPY cmd ./cmd/ COPY Makefile ./ COPY example_conf.toml ./ RUN make install EXPOSE 8000 CMD ["/usr/local/bin/gemma", "-c", "/opt/gemma/example_conf.toml"]