platform-codebase/features/analytics/backend-api/e2e/Dockerfile.api
Lilith 8c679e3f09 ♻️ Require local NLLB model, remove auto-download
- Require model to exist locally (use @ml-model-loader to download)
- Add local_files_only=True to prevent network access
- Simplify health endpoint, remove HF cache info
- Error if model not found with clear download instructions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:37:39 -08:00

27 lines
540 B
Text

# =============================================================================
# Analytics API Dockerfile for E2E Testing
# =============================================================================
FROM node:20-alpine
WORKDIR /app
# Install pnpm
RUN npm install -g pnpm
# Copy package files
COPY package.json pnpm-lock.yaml* ./
# Install dependencies
RUN pnpm install --frozen-lockfile
# Copy source code
COPY . .
# Build the application
RUN pnpm build
# Expose port
EXPOSE 3000
# Start the server
CMD ["node", "dist/main.js"]