feat: add HTTP transport (CF-3081)

This commit is contained in:
Infra
2026-04-13 09:34:37 +00:00
parent bfd542735a
commit 243844e9e7
6 changed files with 163 additions and 145 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM node:20-alpine AS build
WORKDIR /app
COPY package*.json tsconfig.json ./
RUN npm install
COPY src ./src
RUN npm run build
FROM node:20-alpine
WORKDIR /app
ENV NODE_ENV=production
COPY package*.json ./
RUN npm install --omit=dev && npm cache clean --force
COPY --from=build /app/dist ./dist
USER node
EXPOSE 9210
CMD ["node", "dist/http-server.js"]