Skip to content

Commit

Permalink
Use node 20 for faucet docker
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Jan 14, 2025
1 parent 70313bd commit e6c666e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/faucet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e6c666e

Please sign in to comment.