Parcourir la source

bump default NodeJS version to 20 LTS (#2061)

tags/0.4.9
Bowen Liang il y a 1 an
Parent
révision
dc8a8af117
Aucun compte lié à l'adresse e-mail de l'auteur
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1
    1
      .github/workflows/style.yml
  2. 2
    2
      web/Dockerfile

+ 1
- 1
.github/workflows/style.yml Voir le fichier

@@ -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


+ 2
- 2
web/Dockerfile Voir le fichier

@@ -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"]
ENTRYPOINT ["/bin/sh", "./entrypoint.sh"]

Chargement…
Annuler
Enregistrer