From e5fca5e30f2920bdb3d8a423a71fa08db99f4601 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 14:37:54 +0000 Subject: [PATCH 1/2] Bump node from 18-alpine to 21-alpine in /frontend Bumps node from 18-alpine to 21-alpine. --- updated-dependencies: - dependency-name: node dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> --- frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index af07161d09..98fa7f5baf 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine as build +FROM node:21-alpine as build LABEL org.opencontainers.image.source https://github.com/CDCgov/prime-simplereport # Add bash and git @@ -49,7 +49,7 @@ RUN echo "REACT_APP_CONTENT_SECURITY_POLICY_SCRIPT_SRC=''" >> .env.production.lo RUN yarn run build # production environment -FROM node:18-alpine +FROM node:21-alpine RUN npm install -g serve WORKDIR /app/frontend COPY --from=build /app/frontend/build /app/frontend/build From 4bde54b41f35e0cfe65be68875ea1c3723ef6f75 Mon Sep 17 00:00:00 2001 From: elisa lee <elisa@skylight.digital> Date: Wed, 25 Oct 2023 09:52:15 -0500 Subject: [PATCH 2/2] update node ver in package.json nvmrc files --- .nvmrc | 2 +- frontend/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nvmrc b/.nvmrc index 20be6fc336..6bd2aeb338 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18.* +21.* diff --git a/frontend/package.json b/frontend/package.json index 55a9e288ed..567e22239f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "engines": { - "node": "18" + "node": "21" }, "dependencies": { "@apollo/client": "^3.8.3",