Add mcp-gateway/wave-mcp/Dockerfile
This commit is contained in:
parent
89446ddddc
commit
c7b59b2736
1 changed files with 25 additions and 0 deletions
25
mcp-gateway/wave-mcp/Dockerfile
Normal file
25
mcp-gateway/wave-mcp/Dockerfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
FROM node:22-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY tsconfig.json ./
|
||||
COPY src/ ./src/
|
||||
RUN npm run build
|
||||
|
||||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --omit=dev
|
||||
COPY --from=builder /app/dist ./dist
|
||||
|
||||
ENV TRANSPORT=http
|
||||
ENV PORT=8300
|
||||
|
||||
EXPOSE 8300
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s \
|
||||
CMD wget -qO- http://localhost:8300/health || exit 1
|
||||
|
||||
CMD ["node", "dist/index.js"]
|
||||
Loading…
Reference in a new issue