From b362cb97a4325c9b87201063672fec4980615f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksa=20Siri=C5=A1ki?= <31509435+aleksasiriski@users.noreply.github.com> Date: Sun, 3 Dec 2023 19:51:06 +0100 Subject: [PATCH] feat: Switch to wolfi chainguard image (#59) --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ddc12ebd..a53c61eb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,8 +1,8 @@ -FROM gcr.io/distroless/nodejs20-debian12:nonroot +FROM cgr.dev/chainguard/node-lts:latest -WORKDIR /app +ENV NODE_ENV=production -COPY package.json build/ ./ +COPY --chown=node:node ["package.json", "build/", "./"] CMD [ "index.js" ]