diff --git a/docker/Dockerfile b/docker/Dockerfile index aef5562b..5b88224b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,11 +1,13 @@ -FROM cgr.dev/chainguard/node-lts:latest +FROM gcr.io/distroless/nodejs22-debian12:nonroot + +WORKDIR /app ENV NODE_ENV=production -COPY --chown=node:node ["package.json", "build/", "./"] +COPY ["package.json", "build/", "./"] CMD [ "index.js" ] EXPOSE 3000 -LABEL org.opencontainers.image.source="https://github.com/hearchco/frontend" \ No newline at end of file +LABEL org.opencontainers.image.source="https://github.com/hearchco/frontend"