use node lts image for docker

This commit is contained in:
Fanch 2024-01-22 16:57:44 +01:00
parent b13df86745
commit 483e947d92
2 changed files with 4 additions and 4 deletions

View File

@ -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 ./

View File

@ -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