From 5be8801a0fde389f453632ac957347ebdc8b878a Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Tue, 14 Jan 2025 16:24:13 +0100 Subject: [PATCH] Use node 20 for faucet docker --- packages/faucet/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/faucet/Dockerfile b/packages/faucet/Dockerfile index 17962f2bf6..18f2eec97e 100644 --- a/packages/faucet/Dockerfile +++ b/packages/faucet/Dockerfile @@ -8,7 +8,7 @@ # During the build step the working directory must be the repo root such that the # app has access to all installed dependencies. -FROM node:14-alpine as build-env +FROM node:20-alpine as build-env ADD . /app WORKDIR /app @@ -21,8 +21,8 @@ RUN (cd packages/faucet && SKIP_BUILD=1 yarn pack-node) # Use Alpine and install Node.js which is 50% smaller than the -alpine version of the node # image (53 MB including the faucet app). -FROM alpine:3.15 -# Installs Node.js 16 (https://pkgs.alpinelinux.org/packages?name=nodejs&branch=v3.15) +FROM alpine:3.20 +# Installs Node.js 20 (https://pkgs.alpinelinux.org/packages?name=nodejs&branch=v3.20) RUN apk add --update nodejs COPY --from=build-env /app/packages/faucet /app/packages/faucet