Mercurial > gemma
view docker/Dockerfile.spa @ 1245:36e8470daba2
fix: Consistent main menu structure
We now have a consisten main menu structure.
There are always all entries available.
In case the user is in the "sysadmin context" and selects
a point regarding the map, he is routed back to "/" and
the according component is shown.
Otherwise the reselection of an entry acts as before
(toggling the visibility of said component).
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 21 Nov 2018 11:15:23 +0100 |
parents | ed2dd10a94b5 |
children | ce24990b3d5c |
line wrap: on
line source
FROM ubuntu:bionic LABEL authors="tom@intevation.de" 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 # 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_spa WORKDIR /opt/gemma_spa EXPOSE 8080 CMD make -f Makefile.build dependencies && yarn serve