From dc8a8af117ef203b5d5f8591702d9c129bddaf00 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Thu, 18 Jan 2024 19:12:40 +0800 Subject: [PATCH] bump default NodeJS version to 20 LTS (#2061) --- .github/workflows/style.yml | 2 +- web/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 5b48e20f16..7b5ed7ddd7 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -21,7 +21,7 @@ jobs: - name: Setup NodeJS uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn cache-dependency-path: ./web/package.json diff --git a/web/Dockerfile b/web/Dockerfile index 34e20c5c28..422fab37c4 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -1,5 +1,5 @@ # base image -FROM node:18.17.0-alpine AS base +FROM node:20.11.0-alpine AS base # install packages FROM base as packages @@ -46,4 +46,4 @@ ARG COMMIT_SHA ENV COMMIT_SHA ${COMMIT_SHA} EXPOSE 3000 -ENTRYPOINT ["/bin/sh", "./entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/bin/sh", "./entrypoint.sh"]