From d94fd26699fdf9096ff178ac7bb4d13200d4f478 Mon Sep 17 00:00:00 2001 From: Jason Etcovitch Date: Tue, 13 Aug 2024 16:19:37 -0400 Subject: [PATCH] Use node:20.16.0-alpine --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4d36048..d242bf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM node:slim AS builder +FROM node:20.16.0-alpine AS builder WORKDIR /usr/src/app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build -FROM node:slim +FROM node:20.16.0-alpine ENV NODE_ENV=production USER node WORKDIR /usr/src/app