use scratch

This commit is contained in:
pluja 2024-02-19 09:32:44 +01:00
parent ea5dea1891
commit 9fdb5bf603

View File

@ -21,7 +21,7 @@ RUN npm i && \
FROM alpine:latest as certs
RUN apk --update add ca-certificates
FROM alpine:latest
FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
WORKDIR /app
COPY ./frontend /app/frontend