Skip to content

Commit

Permalink
build(Dockerfile): Upgrade node version from 18 to 20 (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaocarmo authored Mar 8, 2024
1 parent eb66573 commit bd4c64f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Base image
FROM node:18 AS builder
FROM node:20 AS builder

RUN corepack enable

Expand All @@ -20,7 +20,7 @@ RUN mkdir build
RUN npm pack --pack-destination ./build

# For CI testing
FROM node:18 AS tester
FROM node:20 AS tester

RUN corepack enable

Expand All @@ -39,7 +39,7 @@ RUN rm -rf ./lib/__mocks__
RUN npm rebuild

# For manual testing in a vanilla environment
FROM node:18 AS tester-vanilla
FROM node:20 AS tester-vanilla

RUN corepack enable

Expand All @@ -53,7 +53,7 @@ RUN PACKAGE_TAR_PATH="./build/$(ls ./build)" && \
RUN pnpm install --frozen-lockfile

# For manual testing in an environment with libpostal
FROM node:18 AS tester-libpostal
FROM node:20 AS tester-libpostal

RUN corepack enable

Expand Down

0 comments on commit bd4c64f

Please sign in to comment.