We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alvinjchoi/gtasks-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•1.04 kB
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Stage 1: Build the TypeScript project
FROM node:18-alpine AS builder
# Set the working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install --ignore-scripts
# Copy the rest of the application code
COPY . .
# Build the application
RUN npm run build
# Stage 2: Create the final image for running the app
FROM node:18-alpine
# Set the working directory
WORKDIR /app
# Copy built files from the builder stage
COPY --from=builder /app/dist /app/dist/
COPY --from=builder /app/package.json /app/
COPY --from=builder /app/package-lock.json /app/
# Install only production dependencies without running scripts
RUN npm ci --omit=dev --ignore-scripts
# Expose environment variables (to be provided at runtime)
ENV GOOGLE_CLIENT_ID=""
ENV GOOGLE_CLIENT_SECRET=""
ENV GOOGLE_REFRESH_TOKEN=""
# Set the entrypoint to run the server
ENTRYPOINT ["node", "dist/index.js"]