From 17ec5c7acf0ea71bec5f0f7ea229be69006d502e Mon Sep 17 00:00:00 2001 From: Boy132 Date: Mon, 22 Apr 2024 08:58:05 +0200 Subject: [PATCH] use node lts version for dockerfile --- .github/workflows/build.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4bbbae1fd..80304f9f6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18, 21] + node-version: [18, 20] steps: - name: Code Checkout uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index 1c3c34a62..ef134d55b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Build the assets that are needed for the frontend. This build stage is then discarded # since we won't need NodeJS anymore in the future. This Docker image ships a final production # level distribution -FROM --platform=$TARGETOS/$TARGETARCH node:21-alpine +FROM --platform=$TARGETOS/$TARGETARCH node:20-alpine WORKDIR /app COPY . ./ RUN yarn install --frozen-lockfile \