diff --git a/Dockerfile b/Dockerfile index b53b9fea..cab4dd12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN printf "deb http://mirror.steadfast.net/debian/ stable main contrib n RUN printf "deb http://mirror.steadfast.net/debian/ testing main contrib non-free\ndeb-src http://mirror.steadfast.net/debian/ testing main contrib non-free" > /etc/apt/sources.list.d/testing.list # Install Node.js GDAL, nginx, letsencrypt, psql -RUN apt-get -qq update && apt-get -qq install -t testing -y binutils libproj-dev gdal-bin nginx && apt-get -qq install -y gettext-base cron certbot postgresql-client-9.6 +RUN apt-get -qq update && apt-get -qq install -t testing -y binutils libproj-dev gdal-bin nginx grass-core && apt-get -qq install -y gettext-base cron certbot postgresql-client-9.6 # Install pip reqs diff --git a/app/plugins/grass_engine.py b/app/plugins/grass_engine.py index 885780ec..5d400945 100644 --- a/app/plugins/grass_engine.py +++ b/app/plugins/grass_engine.py @@ -15,7 +15,8 @@ class GrassEngine: def __init__(self): self.grass_binary = shutil.which('grass7') or \ shutil.which('grass72') or \ - shutil.which('grass74') + shutil.which('grass74') or \ + shutil.which('grass76') if self.grass_binary is None: logger.warning("Could not find a GRASS 7 executable. GRASS scripts will not work.")