fix: update Dockerfile to reflect model download instead of extraction
This commit is contained in:
parent
9c450f3401
commit
c77a0b0912
1 changed files with 3 additions and 3 deletions
|
|
@ -14,8 +14,8 @@ RUN npm ci
|
||||||
# Copy application source
|
# Copy application source
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# 🎯 AUTOMATIC MODEL EXTRACTION - No configuration needed!
|
# 🎯 AUTOMATIC MODEL DOWNLOAD - No configuration needed!
|
||||||
RUN npm run extract-models
|
RUN npm run download-models
|
||||||
|
|
||||||
# Build the application
|
# Build the application
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
@ -32,7 +32,7 @@ RUN npm ci --only=production --omit=optional && npm cache clean --force
|
||||||
# Copy built application
|
# Copy built application
|
||||||
COPY --from=builder /app/dist ./dist
|
COPY --from=builder /app/dist ./dist
|
||||||
|
|
||||||
# 🎯 COPY AUTO-EXTRACTED MODELS - Works everywhere!
|
# 🎯 COPY DOWNLOADED MODELS - Works everywhere!
|
||||||
COPY --from=builder /app/models ./models
|
COPY --from=builder /app/models ./models
|
||||||
|
|
||||||
# Create non-root user for security
|
# Create non-root user for security
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue