mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 13:47:12 +00:00
Use node 20 for faucet docker
This commit is contained in:
parent
9d7f98260a
commit
5be8801a0f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user