From 98e4f05b90db1d2e171ab3d32b9b5b57d3171383 Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 16 Jul 2021 11:21:29 +0200 Subject: [PATCH] Update dockerfiles for node 16 and a12 adjust the productive dockerfiles to work with angular12 and use node16 --- client/docker/Dockerfile | 4 ++-- client/docker/Dockerfile.dev | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/docker/Dockerfile b/client/docker/Dockerfile index 6913f3cd7..5a7023c54 100644 --- a/client/docker/Dockerfile +++ b/client/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14 AS nodejs +FROM node:16 AS nodejs RUN mkdir -p /build/app WORKDIR /build/app @@ -13,7 +13,7 @@ USER openslides COPY package.json package-lock.json ./ RUN npm -v RUN npm ci -COPY browserslist *.json ./ +COPY .browserslistrc *.json ./ COPY src ./src RUN npm run build-to-dir /build/app/static diff --git a/client/docker/Dockerfile.dev b/client/docker/Dockerfile.dev index 0a2ed4eaf..68d168743 100644 --- a/client/docker/Dockerfile.dev +++ b/client/docker/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM node:14 +FROM node:16 WORKDIR /app