use alpine in docker image

This commit is contained in:
Herman Andgart 2022-10-24 09:06:41 +02:00
parent 99fc49daa8
commit 0d8a8bc121
Signed by untrusted user who does not match committer: herman
GPG key ID: ABEEAA06CAA23662

View file

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