Mercurial > gemma
view docker/Dockerfile.backend @ 1670:c344849538c0
refac: removed console.log statements and made code more consistent
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 24 Dec 2018 13:30:57 +0100 |
parents | 5d9e0adf73d1 |
children | 153c77e529dc |
line wrap: on
line source
FROM ubuntu:bionic LABEL authors="tom.gottfried@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 \ make git golang-go \ ca-certificates 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"]