u
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user