Pinning docker image to alpine 3.16 for better reproducibility
This commit is contained in:
parent
efabd62521
commit
08e6beddaa
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
|
# Create app directory
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
@ -15,7 +15,7 @@ COPY . .
|
||||||
|
|
||||||
RUN npm run build
|
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/node_modules ./node_modules
|
||||||
COPY --from=builder /app/package*.json ./
|
COPY --from=builder /app/package*.json ./
|
||||||
|
|
Loading…
Add table
Reference in a new issue