From 7f82f140489aeeea8012be5c8a5f4000160e4869 Mon Sep 17 00:00:00 2001 From: Antoine Abt Date: Thu, 29 Oct 2020 15:03:35 +0100 Subject: [PATCH] chore: disable progress in npm --- Dockerfile | 1 - geoportal/Dockerfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e27b340d..39e7268b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -74,7 +74,6 @@ RUN \ sed 's#bind :80#bind *:443 ssl crt /etc/haproxy_dev/localhost.pem#g' /etc/haproxy/haproxy.cfg.tmpl \ > /etc/haproxy_dev/haproxy.cfg.tmpl && \ echo ' http-request set-header X-Forwarded-Proto https' >> /etc/haproxy_dev/haproxy.cfg.tmpl - VOLUME /etc/geomapfish \ /etc/mapserver \ /etc/qgisserver \ diff --git a/geoportal/Dockerfile b/geoportal/Dockerfile index c8e521d3a..3f05093d3 100644 --- a/geoportal/Dockerfile +++ b/geoportal/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer Camptocamp "info@camptocamp.com" WORKDIR /app COPY package.json /app -RUN \ +RUN npm set progress=false && \ npm-packages --src=/app/package.json --dst=/tmp/npm-packages && \ npm install --no-optional --global --unsafe-perm --no-package-lock `cat /tmp/npm-packages` && \ npm cache clear --force