internal cleanups and build config
This commit is contained in:
8 files changed
+39
-31
No files matched your search
+4
-2
@@ -13,7 +13,9 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# IMPORTANT: Must use alpine builder so native addons (better-sqlite3) are
|
||||
# compiled against musl libc, not glibc. Cross-ABI copies would not work.
|
||||
FROM node:24-alpine AS app-builder
|
||||
# Pinned to 24.18.1 like the main Dockerfile: node 24.19.0 has a napi regression that
|
||||
# aborts the vite build with "Assertion failed: (env) != nullptr" (SIGABRT).
|
||||
FROM node:24.18.1-alpine AS app-builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -52,7 +54,7 @@ RUN cd collector && CGO_ENABLED=0 go build -o /app/bin/collection-worker .
|
||||
# -----------------------------------------------------------------------------
|
||||
# Stage 3: Final Image (Alpine-based runtime)
|
||||
# -----------------------------------------------------------------------------
|
||||
FROM node:24-alpine
|
||||
FROM node:24.18.1-alpine
|
||||
|
||||
# Install runtime packages
|
||||
RUN apk add --no-cache \
|
||||
|
||||
Reference in new issue
Block a user