diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 147628f..8934053 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: node:18-alpine3.16 +image: node:lts-hydrogen stages: - test diff --git a/Dockerfile b/Dockerfile index 4c81ae5..8531239 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 @@ -25,7 +25,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 @@ -56,7 +56,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 ./