From 34ea711fd740830547897b1a2adb27395be7dda8 Mon Sep 17 00:00:00 2001 From: Emmanuel Gautier Date: Wed, 9 Oct 2024 10:49:52 +0200 Subject: [PATCH] chore: upgrade node images to lts --- angular/Dockerfile | 2 +- express/express-npm/Dockerfile | 2 +- express/express-yarn/Dockerfile | 2 +- next/Dockerfile | 4 ++-- react/Dockerfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/angular/Dockerfile b/angular/Dockerfile index c5337bd..144209b 100644 --- a/angular/Dockerfile +++ b/angular/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 as development +FROM node:lts as development WORKDIR /app diff --git a/express/express-npm/Dockerfile b/express/express-npm/Dockerfile index 59d3738..d7a7a16 100644 --- a/express/express-npm/Dockerfile +++ b/express/express-npm/Dockerfile @@ -1,4 +1,4 @@ -FROM node:slim +FROM node:lts-slim WORKDIR /usr/src/app diff --git a/express/express-yarn/Dockerfile b/express/express-yarn/Dockerfile index 64efa21..d0bbcfd 100644 --- a/express/express-yarn/Dockerfile +++ b/express/express-yarn/Dockerfile @@ -1,4 +1,4 @@ -FROM node:slim +FROM node:lts-slim WORKDIR /usr/src/app diff --git a/next/Dockerfile b/next/Dockerfile index dda36f1..69ecf44 100644 --- a/next/Dockerfile +++ b/next/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18 as builder +FROM node:lts as builder WORKDIR /app @@ -9,7 +9,7 @@ COPY . . RUN npm run build -FROM node:18-alpine +FROM node:lts-alpine WORKDIR /app diff --git a/react/Dockerfile b/react/Dockerfile index 9ca0628..7333d48 100644 --- a/react/Dockerfile +++ b/react/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 as development +FROM node:lts as development WORKDIR /app