Skip to content
Snippets Groups Projects
Commit 2eacdafd authored by Matthieu Benoist's avatar Matthieu Benoist
Browse files

updating node to latest LTS

parent b0f6b3cf
No related branches found
No related tags found
1 merge request!23Major angular update and bug fixes
# Stage 0, based on Node.js, to build and compile Angular # 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 the package.json file first in order to cache the modules
COPY ./package.json /app/package.json COPY ./package.json /app/package.json
...@@ -20,14 +20,14 @@ RUN npm run postinstall ...@@ -20,14 +20,14 @@ RUN npm run postinstall
ARG conf ARG conf
# Building the Angular app /dist # Building the Angular app /dist
RUN npm run build:${conf} RUN npm run build:${conf}
# Stage 1, based on Nginx, to have only the compiled app # Stage 1, based on Nginx, to have only the compiled app
FROM nginx FROM nginx
## Install dependency to get lua module in .conf ## Install dependency to get lua module in .conf
RUN apt-get update RUN apt-get update
RUN apt-get --assume-yes install nginx-extras RUN apt-get --assume-yes install nginx-extras
RUN rm /etc/nginx/conf.d/* RUN rm /etc/nginx/conf.d/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment