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" ]