This commit is contained in:
seb
2026-10-26 23:09:23 +01:00
parent 2dea4e86f1
commit 2cc166bbec
4 changed files with 111 additions and 37 deletions

View File

@@ -3,16 +3,12 @@ FROM gcr.io/distroless/cc-debian12
WORKDIR /app
# Copy sibling dependencies referenced by package.json
COPY dashdbschema /dashdbschema
COPY llmorbiter /llmorbiter
# Copy application runtime files and SEA binary
COPY dashback/node_modules ./node_modules
COPY dashback/package.json ./package.json
COPY dashback/src ./src
# The standalone SEA binary contains Node.js runtime, src/, package.json, and all app logic
COPY dashback/dist/dashback ./dist/dashback
# Only native C++ addons and dependencies needed by the OS dynamic linker (dlopen)
COPY dashback/node_modules ./node_modules
# Set production defaults: port 4202 only, localhost only
ENV NODE_ENV=production \
HOST=127.0.0.1 \