Enhance Docker configuration and update dependencies for Realtime Agent Studio

- Updated Dockerfile for the API to include build tools for C++11 required for native extensions.
- Revised requirements.txt to upgrade several dependencies, including FastAPI and SQLAlchemy.
- Expanded docker-compose.yml to add MinIO service for S3-compatible storage and improved health checks for backend and engine services.
- Enhanced README.md in the Docker directory to provide detailed service descriptions and quick start instructions.
- Updated mkdocs.yml to reflect new navigation structure and added deployment overview documentation.
- Introduced new Dockerfiles for the engine and web services, including development configurations for hot reloading.
This commit is contained in:
Xin Wang
2026-03-04 10:01:00 +08:00
parent 4c05131536
commit 530d95eea4
20 changed files with 318 additions and 332 deletions

View File

@@ -1,5 +1,6 @@
# Build stage
FROM node:20-alpine AS builder
ARG REGISTRY_MIRROR=docker.1ms.run
FROM ${REGISTRY_MIRROR}/node:20-alpine AS builder
WORKDIR /app
@@ -8,11 +9,14 @@ RUN npm ci
COPY . .
ARG VITE_API_BASE_URL=http://localhost:8100/api
ARG VITE_ENGINE_WS_URL=ws://localhost:8001/ws
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
ENV VITE_ENGINE_WS_URL=$VITE_ENGINE_WS_URL
RUN npm run build
# Serve stage (no nginx Node + serve on port 6000)
FROM node:20-alpine
ARG REGISTRY_MIRROR=docker.1ms.run
FROM ${REGISTRY_MIRROR}/node:20-alpine
RUN npm install -g serve