From 72d14ea2b366bf0cf63dbfdb583a44c40872daf7 Mon Sep 17 00:00:00 2001 From: Emmanuel Gautier Date: Fri, 11 Oct 2024 00:06:44 +0200 Subject: [PATCH] chore: use lts docker images --- examples/angular-spa/Dockerfile | 2 +- examples/nextjs-app/Dockerfile | 4 ++-- examples/react-spa/Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/angular-spa/Dockerfile b/examples/angular-spa/Dockerfile index df5d695..36d3b6f 100644 --- a/examples/angular-spa/Dockerfile +++ b/examples/angular-spa/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 as development +FROM node:lts AS development WORKDIR /app diff --git a/examples/nextjs-app/Dockerfile b/examples/nextjs-app/Dockerfile index 897faed..88ec016 100644 --- a/examples/nextjs-app/Dockerfile +++ b/examples/nextjs-app/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 as builder +FROM node:lts AS builder WORKDIR /app @@ -11,7 +11,7 @@ ENV NEXT_BUILD_OUTPUT 'standalone' RUN npm run build -FROM node:20-alpine +FROM node:lts-alpine WORKDIR /app diff --git a/examples/react-spa/Dockerfile b/examples/react-spa/Dockerfile index 9ca0628..23d3669 100644 --- a/examples/react-spa/Dockerfile +++ b/examples/react-spa/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20 as development +FROM node:lts AS development WORKDIR /app @@ -12,7 +12,7 @@ ENV PORT=3000 CMD [ "npm", "start" ] -FROM development as builder +FROM development AS builder RUN npm run build