Update dockerfiles for node 16 and a12

adjust the productive dockerfiles to work with angular12 and use node16
This commit is contained in:
Sean 2021-07-16 11:21:29 +02:00
parent 7dc35dce40
commit 98e4f05b90
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM node:14 AS nodejs FROM node:16 AS nodejs
RUN mkdir -p /build/app RUN mkdir -p /build/app
WORKDIR /build/app WORKDIR /build/app
@ -13,7 +13,7 @@ USER openslides
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm -v RUN npm -v
RUN npm ci RUN npm ci
COPY browserslist *.json ./ COPY .browserslistrc *.json ./
COPY src ./src COPY src ./src
RUN npm run build-to-dir /build/app/static RUN npm run build-to-dir /build/app/static

View File

@ -1,4 +1,4 @@
FROM node:14 FROM node:16
WORKDIR /app WORKDIR /app