Pinning docker image to alpine 3.16 for better reproducibility

This commit is contained in:
Herman Andgart 2022-12-13 12:06:00 +01:00 committed by Vermium Sifell
parent efabd62521
commit 08e6beddaa

View file

@ -1,4 +1,4 @@
FROM node:19-alpine AS builder
FROM node:19-alpine3.16 AS builder
# Create app directory
WORKDIR /app
@ -15,7 +15,7 @@ COPY . .
RUN npm run build
FROM node:19-alpine
FROM node:19-alpine3.16
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package*.json ./