From 87d6ec887886c199e85b39aff8f51de911df3ec4 Mon Sep 17 00:00:00 2001 From: carlos-kruse Date: Tue, 21 Nov 2023 21:53:35 +0000 Subject: [PATCH] feat: update to node 20 --- merkle-tree/Dockerfile | 3 ++- merkle-tree/dev.Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/merkle-tree/Dockerfile b/merkle-tree/Dockerfile index 1093d47..a70a74e 100644 --- a/merkle-tree/Dockerfile +++ b/merkle-tree/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.0.0 +FROM node:20 WORKDIR /app @@ -7,6 +7,7 @@ COPY ./src ./src COPY ./test ./test COPY ./.babelrc ./ COPY ./config ./config +RUN npm install RUN npm ci EXPOSE 80 diff --git a/merkle-tree/dev.Dockerfile b/merkle-tree/dev.Dockerfile index a400c36..d59a1c8 100644 --- a/merkle-tree/dev.Dockerfile +++ b/merkle-tree/dev.Dockerfile @@ -1,8 +1,9 @@ -FROM node:11.15 +FROM node:20 WORKDIR /app COPY ./package.json ./package-lock.json ./ +RUN npm install RUN npm ci EXPOSE 80