fix: update Dockerfile and README to replace model extraction with download

This commit is contained in:
David Snelling 2025-08-05 20:39:39 -07:00
parent d3ff38174c
commit b1bc455810
7 changed files with 40 additions and 40 deletions

View file

@ -1,7 +1,7 @@
# Google Cloud Run Dockerfile with Auto-Extracted Models
# Optimized for Cloud Run's requirements and constraints
FROM node:24-alpine AS builder
FROM node:24-slim AS builder
WORKDIR /app
@ -15,10 +15,10 @@ RUN npm ci --only=production && npm cache clean --force
COPY . .
# Extract models using our automatic script
RUN node scripts/extract-models.js
RUN node scripts/download-models.cjs
# Production stage
FROM node:24-alpine AS production
FROM node:24-slim AS production
WORKDIR /app