Mercurial > gemma
view docker/Dockerfile.spa @ 1526:4f62e2610740
Translation: improve language detection code and correct language name
* Improve the language detection code to use major variant if not not precise match
* correct the typing fehler for one language name
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Fri, 07 Dec 2018 11:20:44 +0100 |
parents | 6f2219d942d6 |
children | 2241f8710dcc |
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 gnupg nodejs make mercurial # Install yarn RUN curl https://dl.yarnpkg.com/debian/pubkey.gpg | sudo 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