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