phase 2-3

This commit is contained in:
2026-05-09 22:59:43 -05:00
parent b4ac3b9968
commit fe3b555202
11 changed files with 1075 additions and 3 deletions
+4
View File
@@ -1,4 +1,6 @@
FROM node:20-alpine AS builder
# Build deps for native modules (better-sqlite3 needs python3/make/g++ on musl)
RUN apk add --no-cache python3 make g++
WORKDIR /app
COPY package*.json tsconfig.json ./
RUN npm ci
@@ -8,6 +10,8 @@ RUN npx prisma generate
RUN npm run build
FROM node:20-alpine
# Runtime libs for native modules
RUN apk add --no-cache libstdc++
RUN addgroup -S mcp && adduser -S mcp -G mcp
WORKDIR /app
COPY --from=builder /app/dist ./dist