Mercurial > gemma
view docker/Dockerfile.spa @ 2149:ed0ee54fc49e
Extend /surveys endpoint to include waterlevel_value
* Change SQL to use the same strategy as used in schema/gemma.sql
for bottlenecks_geoserver to determine the waterlevel_value.
* Extend go controler to deal with the situation where the value is not
there. This is still suboptimal as this creates a json object for
the NullInt64 value.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Fri, 08 Feb 2019 11:26:05 +0100 |
parents | 2241f8710dcc |
children | ffc822700056 |
line wrap: on
line source
FROM ubuntu:bionic LABEL authors="tom@intevation.de" LABEL description="Contains software from gemma, for right holders and\ licensing infos, see https://hg.intevation.de/gemma ." RUN sed -i 's/\(deb.*\)$/\1 universe/' /etc/apt/sources.list RUN apt-get update &&\ apt-get -y install --no-install-recommends \ curl ca-certificates gnupg nodejs make mercurial # Install yarn RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&\ echo 'deb https://dl.yarnpkg.com/debian/ stable main' >> \ /etc/apt/sources.list &&\ apt-get update &&\ apt-get -y install yarn COPY ./client /opt/gemma/client COPY ./.hg /opt/gemma/.hg WORKDIR /opt/gemma/client EXPOSE 8080 CMD make -f Makefile.build dependencies && yarn serve