cc9c903d6d
Root cause: Status API was using wrong health endpoints: - LiteLLM /health requires API key auth (returns 401) -> changed to /health/readiness (no auth) - Letta /api/health returns 404 -> changed to /v1/health/ (correct endpoint)
10 lines
272 B
Docker
10 lines
272 B
Docker
FROM node:20-alpine
|
|
RUN apk add --no-cache curl
|
|
WORKDIR /app
|
|
COPY package.json ./
|
|
RUN npm install --production
|
|
COPY server.js ./
|
|
EXPOSE 3100
|
|
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -sf http://localhost:3100/health || exit 1
|
|
CMD ["node", "server.js"]
|