Added two recommended flags & bumped image tag

This commit is contained in:
Felix 2022-08-09 15:45:50 +02:00 committed by GitHub
parent 9f99320fda
commit e69b10cb86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,10 @@
## Builder
FROM node:17.9.0-alpine3.15 as builder
FROM node:17.9.1-alpine3.15 as builder
WORKDIR /src
COPY package.json package-lock.json /src/
RUN npm ci
RUN npm ci --no-audit --prefer-offline
COPY . /src/
RUN npm run build