From 70eb1c3be775bd90685e1bf7044f858724508636 Mon Sep 17 00:00:00 2001 From: Gabriele De Rosa Date: Mon, 14 Oct 2024 16:23:31 +0200 Subject: [PATCH] Use static versions in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 829586d..7583ffa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # build environment -FROM node:lts as build +FROM node:20.18 as build # Create app directory WORKDIR /usr/src/app @@ -21,7 +21,7 @@ RUN npm run build # production environment -FROM nginx:alpine +FROM nginx:1.27-alpine # Create app directory WORKDIR /usr/src/app