From 6b043291cd16879d4f4380db931debe5966f12ca Mon Sep 17 00:00:00 2001 From: Michael J Feher Date: Thu, 9 May 2024 11:23:39 -0400 Subject: [PATCH] fix: pin node to 20.12 - https://github.com/nodejs/docker-node/issues/2081 --- Dockerfile | 4 ++-- Vite.Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 780b20d..c60927f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine AS BUILDER +FROM node:20.12-alpine AS BUILDER COPY . . @@ -6,7 +6,7 @@ RUN npm ci RUN npm run build -FROM node:20-alpine +FROM node:20.12-alpine # App Files COPY --from=BUILDER ./node_modules ./node_modules diff --git a/Vite.Dockerfile b/Vite.Dockerfile index 1a8abe6..f64ba7f 100644 --- a/Vite.Dockerfile +++ b/Vite.Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:20.12-alpine ADD . .