Add wave-mcp/Dockerfile

This commit is contained in:
zgaetano 2026-03-31 15:33:46 -04:00
parent 9f1b98a5e6
commit c97d6b99c1

25
wave-mcp/Dockerfile Normal file
View 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"]