mirror of
https://github.com/hanzoai/chat.git
synced 2026-09-30 20:51:17 +00:00
- Add Runtime service to Docker Compose stack - Configure Runtime API integration in Router config - Add mock Runtime server for development - Update Router with Runtime API environment variables - Update Makefile to include Runtime health checks - Configure runtime execution models (Python/TypeScript) - Fix Hanzo Router branding (build with enterprise colors) - Add runtime access points to documentation
22 lines
472 B
Docker
22 lines
472 B
Docker
# Runtime API Dockerfile
|
|
FROM node:20-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files from runtime repo
|
|
COPY --from=runtime package.json pnpm-lock.yaml* ./
|
|
COPY --from=runtime nx.json ./
|
|
COPY --from=runtime tsconfig*.json ./
|
|
COPY --from=runtime apps/api ./apps/api/
|
|
COPY --from=runtime libs ./libs/
|
|
|
|
# Install dependencies
|
|
RUN npm install -g pnpm && \
|
|
pnpm install --frozen-lockfile
|
|
|
|
# Build the API
|
|
RUN pnpm nx build api
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["node", "dist/apps/api/main.js"] |