Merge pull request #464 from NAHFE/main

Use Alpine as base image in docker
This commit is contained in:
Axel Olausson Holtenäs 2022-10-24 10:01:35 +02:00 committed by GitHub
commit f49773c00d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ./