diff --git a/Dockerfile b/Dockerfile index 8f8f52d4..9b00ad9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /srv/configurable-http-proxy # Install configurable-http-proxy, then automatically install compatible updates # to vulnerable dependencies, and finally uninstall npm which isn't needed. -RUN npm install -g \ +RUN npm install -g --production \ && npm audit fix \ && npm uninstall -g npm