- Add web-read-progress Gen-UI card for real-time web reading feedback - Searcher tool-executor pushes loading→complete cards during web_read - ToolCallStatus supports expanding during loading state - Switch from langgraphjs dev to production mode (server.ts) - Add Hono middleware to strip sensitive request headers - Bundle splitting via Vite manualChunks (1.85MB → 8 chunks) - SPA fallback via staticwebapp.config.json - Agent model configs updated (sonnet 1M → standard sonnet) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
26 lines
497 B
Docker
26 lines
497 B
Docker
FROM node:20-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install pnpm
|
|
RUN npm install -g pnpm@10
|
|
|
|
# Copy package files first for layer caching
|
|
COPY package.json pnpm-lock.yaml ./
|
|
|
|
# Install dependencies
|
|
RUN pnpm install --frozen-lockfile
|
|
|
|
# Copy source code
|
|
COPY . .
|
|
|
|
# LangGraph dev prerequisites
|
|
RUN touch .env && mkdir -p .langgraph_api
|
|
|
|
# Expose port 8080 for Azure auto-detection
|
|
EXPOSE 8080
|
|
|
|
# Start LangGraph.js production server on port 8080
|
|
ENV PORT=8080
|
|
CMD ["./node_modules/.bin/tsx", "src/agent/server.ts"]
|