Pinning docker image to alpine 3.16 for better reproducibility
This commit is contained in:
parent
73dd735930
commit
917c85e097
1 changed files with 2 additions and 2 deletions
|
@ -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 ./
|
||||
|
|
Loading…
Add table
Reference in a new issue