diff --git a/Dockerfile b/Dockerfile index 0d5684c3b4822976a606ea7bb5619def4b9a8f7f..25cf6f6957535749fbf2164baca9297a3aa951e7 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/*