mirror of
https://github.com/tale/headplane.git
synced 2026-08-27 15:37:04 +00:00
feat: bundle all node_modules to reduce size
This commit is contained in:
@@ -35,6 +35,7 @@ COPY --from=go-build /build/app/wasm_exec.js /build/app/wasm_exec.js
|
||||
ARG IMAGE_TAG
|
||||
RUN IMAGE_TAG=$IMAGE_TAG pnpm run build
|
||||
RUN mkdir -p /var/lib/headplane/agent
|
||||
RUN pnpm prune --prod
|
||||
|
||||
FROM gcr.io/distroless/nodejs22-debian12:latest AS final
|
||||
COPY --from=js-build /build/build/ /app/build/
|
||||
|
||||
Reference in New Issue
Block a user