bump default NodeJS version to 20 LTS (#2061)

This commit is contained in:
Bowen Liang 2024-01-18 19:12:40 +08:00 committed by GitHub
parent 6c28e1e69a
commit dc8a8af117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Setup NodeJS - name: Setup NodeJS
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
cache: yarn cache: yarn
cache-dependency-path: ./web/package.json cache-dependency-path: ./web/package.json

View File

@ -1,5 +1,5 @@
# base image # base image
FROM node:18.17.0-alpine AS base FROM node:20.11.0-alpine AS base
# install packages # install packages
FROM base as packages FROM base as packages
@ -46,4 +46,4 @@ ARG COMMIT_SHA
ENV COMMIT_SHA ${COMMIT_SHA} ENV COMMIT_SHA ${COMMIT_SHA}
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT ["/bin/sh", "./entrypoint.sh"] ENTRYPOINT ["/bin/sh", "./entrypoint.sh"]