fix: update Dockerfile and README to replace model extraction with download
This commit is contained in:
parent
d3ff38174c
commit
b1bc455810
7 changed files with 40 additions and 40 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue