Major changes: - Add Go backend (backend/) with microservices architecture - Enhanced master-agents-svc: reranker, content-classifier, stealth-crawler, proxy-manager, media-search, fastClassifier, language detection - New web-svc widgets: KnowledgeCard, ProductCard, ProfileCard, VideoCard, UnifiedCard, CardGallery, InlineImageGallery, SourcesPanel, RelatedQuestions - Improved discover-svc with discover-db integration - Docker deployment improvements (Caddyfile, vendor.sh, BUILD.md) - Library-svc: project_id schema migration - Remove deprecated finance-svc and travel-svc - Localization improvements across services Made-with: Cursor
21 lines
488 B
Docker
21 lines
488 B
Docker
# syntax=docker/dockerfile:1
|
|
FROM node:22-alpine AS builder
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
COPY --from=npm-cache / /tmp/npm-cache
|
|
RUN npm ci --cache /tmp/npm-cache
|
|
COPY tsconfig.json ./
|
|
COPY src ./src
|
|
COPY drizzle ./drizzle
|
|
RUN npm run build
|
|
|
|
FROM node:22-alpine
|
|
WORKDIR /app
|
|
COPY package*.json ./
|
|
COPY --from=npm-cache / /tmp/npm-cache
|
|
RUN npm ci --omit=dev --cache /tmp/npm-cache
|
|
COPY --from=builder /app/dist ./dist
|
|
COPY drizzle ./drizzle
|
|
EXPOSE 3010
|
|
CMD ["node", "dist/index.js"]
|