From 2eacdafd1ede598630d329ac997ca8b9d12fff1f Mon Sep 17 00:00:00 2001 From: Matthieu Benoist <mbenoist@ausy-group.com> Date: Thu, 26 Nov 2020 14:41:51 +0100 Subject: [PATCH] updating node to latest LTS --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0d5684c..25cf6f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 0, based on Node.js, to build and compile Angular -FROM node:8.10.0 as builder +FROM node:14.15.1 as builder # Copy the package.json file first in order to cache the modules COPY ./package.json /app/package.json @@ -20,14 +20,14 @@ RUN npm run postinstall ARG conf -# Building the Angular app /dist +# Building the Angular app /dist RUN npm run build:${conf} # Stage 1, based on Nginx, to have only the compiled app FROM nginx -## Install dependency to get lua module in .conf -RUN apt-get update +## Install dependency to get lua module in .conf +RUN apt-get update RUN apt-get --assume-yes install nginx-extras RUN rm /etc/nginx/conf.d/* -- GitLab