From 3f2dbcf2ad07d0a839f14df46cd1b912531f90fd Mon Sep 17 00:00:00 2001 From: Yuqiu Wang Date: Wed, 13 Sep 2023 12:57:02 -0500 Subject: [PATCH] Find some available image --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9db22b13..cbc065bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1 - the build react app -FROM node:16.11.7 as build-deps +FROM node:16.20.2-alpine as build-deps WORKDIR /usr/src/app COPY client/package.json client/package-lock.json ./ RUN npm i @@ -8,7 +8,7 @@ COPY client/ ./ RUN npm run build # Stage 2 - the production environment -FROM node:16.11.7 +FROM node:16.20.2-alpine RUN apk add --no-cache tini ENV NODE_ENV production