build: base on ghcr.io/hanzoai/nodejs:v24.18.0 (Node 24 + sqlite3)

Adopt the canonical Hanzo Node base image. Node 24 uniform across the
fleet; sqlite3 bundled (node:sqlite builtin + native better-sqlite3
toolchain). One base, one way.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
z
2026-07-04 12:49:43 -07:00
committed by zeekay
co-authored by Claude Fable 5
parent 25e33c76b3
commit a7f63195ec
+3 -3
View File
@@ -1,7 +1,7 @@
# Hanzo Runtime Service Dockerfile
# Build stage
FROM node:20-alpine AS builder
FROM ghcr.io/hanzoai/nodejs:v24.18.0 AS builder
WORKDIR /app
@@ -23,7 +23,7 @@ COPY . .
RUN pnpm build || npm run build || true
# Development stage
FROM node:20-alpine AS development
FROM ghcr.io/hanzoai/nodejs:v24.18.0 AS development
WORKDIR /app
@@ -48,7 +48,7 @@ EXPOSE 3000
CMD ["pnpm", "dev"]
# Production stage
FROM node:20-alpine AS production
FROM ghcr.io/hanzoai/nodejs:v24.18.0 AS production
WORKDIR /app