Change Baseimage to Distroless Node Image

[POC] Reduce attack surface as there is no package manager and reduce the image size further
This commit is contained in:
Kaindl Network 2023-04-07 14:36:31 +00:00 committed by GitHub
parent d6eee480b3
commit 0548a17cee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM node:lts-alpine
FROM gcr.io/distroless/nodejs:16
WORKDIR /home/node/app