use node lts version for dockerfile

This commit is contained in:
Boy132 2024-04-22 08:58:05 +02:00
parent 4708105104
commit 17ec5c7acf
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
node-version: [18, 21] node-version: [18, 20]
steps: steps:
- name: Code Checkout - name: Code Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@ -2,7 +2,7 @@
# Build the assets that are needed for the frontend. This build stage is then discarded # 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 # since we won't need NodeJS anymore in the future. This Docker image ships a final production
# level distribution # level distribution
FROM --platform=$TARGETOS/$TARGETARCH node:21-alpine FROM --platform=$TARGETOS/$TARGETARCH node:20-alpine
WORKDIR /app WORKDIR /app
COPY . ./ COPY . ./
RUN yarn install --frozen-lockfile \ RUN yarn install --frozen-lockfile \