diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df66fa4..2baf0d2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,7 +50,7 @@ trivy: release: stage: release - image: node:21.1.0-alpine + image: node:21.2.0-alpine before_script: - apk add --no-cache git script: diff --git a/Dockerfile b/Dockerfile index 37dee86..2770dfa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM node:21.1.0-alpine AS build +FROM node:21.2.0-alpine AS build WORKDIR /usr/src/app COPY package*.json ./ RUN npm install COPY . . RUN npm run build -FROM node:21.1.0-alpine +FROM node:21.2.0-alpine WORKDIR /usr/src/app COPY package*.json ./ RUN npm install --only=production