Ensure Docker images keep their container-built native dependencies, wait for the Laya sidecar healthcheck, expose accurate Laya readiness, and treat empty AI language batches as fallback failures. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -40,8 +40,9 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies (better-sqlite3 will build from source using g++ installed above)
|
||||
RUN npm ci --only=production
|
||||
# Install dependencies (better-sqlite3 will build for the image's Node.js ABI).
|
||||
# node_modules is excluded by .dockerignore so COPY below cannot overwrite it.
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Copy application files
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user