# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use a Node.js image as the base image
FROM node:20-alpine AS builder
# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code to the working directory
COPY src ./src
COPY tsconfig.json ./
# Build the TypeScript files
RUN npm run build
# Create the release image
FROM node:20-alpine
# Set the working directory
WORKDIR /app
# Copy the built files from the builder stage
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/package.json ./
# Install only production dependencies
RUN npm ci --omit=dev
# Set the command to run the application
ENTRYPOINT ["node", "dist/redis_server.js"]
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/farhankaz/redis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server