From 6fa8594fa66c656df461fdae723a6899ae997f77 Mon Sep 17 00:00:00 2001 From: Fanch Date: Mon, 22 Jan 2024 16:57:44 +0100 Subject: [PATCH] use node lts image for docker --- Dockerfile | 6 +++--- ci/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 64102ae..87314cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # BUILD FOR LOCAL DEVELOPMENT ################### -FROM docker.io/node:18-alpine3.16 As development +FROM docker.io/node:lts-hydrogen As development # Create app directory WORKDIR /usr/src/app @@ -29,7 +29,7 @@ USER node # BUILD FOR PRODUCTION ################### -FROM docker.io/node:18-alpine3.16 As build +FROM docker.io/node:lts-hydrogen As build WORKDIR /usr/src/app @@ -63,7 +63,7 @@ USER node # PRODUCTION ################### -FROM docker.io/node:18-alpine3.16 As production +FROM docker.io/node:lts-hydrogen As production # Copy package.json to be able to execute migration command COPY --chown=node:node package*.json ./ diff --git a/ci/Dockerfile b/ci/Dockerfile index b517a3f..6770fcb 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -2,7 +2,7 @@ # BUILD FOR CI TESTING ################### -FROM docker.io/node:18-alpine3.16 +FROM docker.io/node:lts-hydrogen # Create app directory WORKDIR /usr/src/app