From 78dcfc21fe04fe2cb662cb945029eacc8f0bd4ab Mon Sep 17 00:00:00 2001 From: D056267 Date: Fri, 8 Dec 2023 09:55:27 +0100 Subject: [PATCH] adding new versions of node --- .../deployment/docker/Dockerfile-day2-approuter | 3 +-- code/day2-operations/deployment/docker/Dockerfile-day2-ui | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/code/day2-operations/deployment/docker/Dockerfile-day2-approuter b/code/day2-operations/deployment/docker/Dockerfile-day2-approuter index c33ca3f..f1591d4 100644 --- a/code/day2-operations/deployment/docker/Dockerfile-day2-approuter +++ b/code/day2-operations/deployment/docker/Dockerfile-day2-approuter @@ -1,5 +1,4 @@ -FROM node:14 - +FROM --platform=linux/amd64 node:20 WORKDIR /app COPY code/day2-operations/source/day2-approuter/package.json . diff --git a/code/day2-operations/deployment/docker/Dockerfile-day2-ui b/code/day2-operations/deployment/docker/Dockerfile-day2-ui index 215caf9..f4b8631 100644 --- a/code/day2-operations/deployment/docker/Dockerfile-day2-ui +++ b/code/day2-operations/deployment/docker/Dockerfile-day2-ui @@ -1,5 +1,5 @@ # build stage -FROM node:14-alpine as build-stage +FROM --platform=linux/amd64 node:18-alpine as build-stage WORKDIR /app COPY code/day2-operations/source/day2-ui/package*.json ./ RUN npm install