diff --git a/.github/workflows/cd-storybook.yml b/.github/workflows/cd-storybook.yml index d1e4b860..0a1a409a 100644 --- a/.github/workflows/cd-storybook.yml +++ b/.github/workflows/cd-storybook.yml @@ -31,7 +31,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 20 cache-dependency-path: ./app/package-lock.json # or yarn.lock cache: npm # or yarn - name: Setup Pages diff --git a/.github/workflows/ci-app.yml b/.github/workflows/ci-app.yml index 9ad31596..4e6217a5 100644 --- a/.github/workflows/ci-app.yml +++ b/.github/workflows/ci-app.yml @@ -14,7 +14,7 @@ defaults: working-directory: ./app env: - NODE_VERSION: 18 + NODE_VERSION: 20 LOCKFILE_PATH: ./app/package-lock.json # or yarn.lock PACKAGE_MANAGER: npm # or yarn diff --git a/app/Dockerfile b/app/Dockerfile index 7e0823b5..9f15db44 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,7 +1,7 @@ # This file is largely based on the template-application-flask Dockerfile and # Next.js Docker example: https://github.com/vercel/next.js/blob/canary/examples/with-docker-compose # ============================================================================= -FROM node:18.19.0-bullseye-slim AS base +FROM node:20.11.0-bullseye-slim AS base WORKDIR /app # Install dependencies @@ -56,7 +56,7 @@ RUN npm run build -- --no-lint # Run the Next.js server # ===================================== # Use clean image for release, excluding any unnecessary files or dependencies -FROM node:18.19.0-bullseye-slim AS release +FROM node:20.11.0-bullseye-slim AS release WORKDIR /app RUN apt-get update \