Files
chat/runtime/Dockerfile
zeekay 914bedbad4 feat: integrate Hanzo Runtime API for AI code execution
- 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
2025-07-15 01:27:32 -05:00

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"]