Update dockerfiles for node 16 and a12
adjust the productive dockerfiles to work with angular12 and use node16
This commit is contained in:
parent
7dc35dce40
commit
98e4f05b90
@ -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
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM node:14
|
FROM node:16
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user