use node lts image for docker
This commit is contained in:
parent
42e1c854b0
commit
b38a260032
|
@ -2,7 +2,7 @@
|
||||||
# BUILD FOR LOCAL DEVELOPMENT
|
# BUILD FOR LOCAL DEVELOPMENT
|
||||||
###################
|
###################
|
||||||
|
|
||||||
FROM docker.io/node:18-alpine3.16 As development
|
FROM docker.io/node:lts-hydrogen As development
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
@ -25,7 +25,7 @@ USER node
|
||||||
# BUILD FOR PRODUCTION
|
# BUILD FOR PRODUCTION
|
||||||
###################
|
###################
|
||||||
|
|
||||||
FROM docker.io/node:18-alpine3.16 As build
|
FROM docker.io/node:lts-hydrogen As build
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ USER node
|
||||||
# PRODUCTION
|
# 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 package.json to be able to execute migration command
|
||||||
COPY --chown=node:node package*.json ./
|
COPY --chown=node:node package*.json ./
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# BUILD FOR CI TESTING
|
# BUILD FOR CI TESTING
|
||||||
###################
|
###################
|
||||||
|
|
||||||
FROM docker.io/node:18-alpine3.16
|
FROM docker.io/node:lts-hydrogen
|
||||||
|
|
||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
Loading…
Reference in New Issue