Xano MCP Server

# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile FROM node:18-alpine AS builder # Set the working directory inside the container WORKDIR /app # Copy package.json and package-lock.json to the working directory COPY package.json package-lock.json ./ # Install the npm dependencies RUN npm install # Copy the rest of the application code to the working directory COPY . . # Build the TypeScript code RUN npm run build # Use a lightweight Node.js image to reduce the image size FROM node:18-alpine AS release # Set the working directory inside the container WORKDIR /app # Copy the built application from the builder stage COPY --from=builder /app/build ./build COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/package.json ./ # Expose the necessary port for the MCP server EXPOSE 3000 # Set the command to run the application CMD ["node", "build/index.js"]