Skip to content

Commit

Permalink
Update Dockerfiles to use node 18 (#2487)
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech authored Jan 17, 2023
1 parent 64d8d3c commit 8bcdb48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM node:16-alpine as build
FROM node:18-alpine as build
WORKDIR /usr/app
RUN apk update && apk add --no-cache bash git g++ make python3 && rm -rf /var/cache/apk/*

ARG VERSION=latest
ENV VERSION=$VERSION
RUN npm install @ethereumjs/client@$VERSION

FROM node:16-alpine
FROM node:18-alpine
WORKDIR /usr/app
COPY --from=build /usr/app .

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.fromSource
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine as build
FROM node:18-alpine as build
RUN apk update && apk add --no-cache bash git g++ make python3 && rm -rf /var/cache/apk/*
WORKDIR /usr/app

Expand All @@ -9,7 +9,7 @@ RUN npm i --ignore-scripts
COPY . .
RUN npm i

FROM node:16-alpine
FROM node:18-alpine
WORKDIR /usr/app
COPY --from=build /usr/app .

Expand Down

0 comments on commit 8bcdb48

Please sign in to comment.