We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/itsalfredakku/youtrack-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•1.06 kB
# syntax=docker/dockerfile:1
# Base stage to define the working directory
FROM node:20-alpine AS base
WORKDIR /app
# Install dependencies (including dev) for building the TypeScript project
FROM base AS deps
COPY package*.json ./
RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi
# Build stage compiles the TypeScript sources to JavaScript in dist/
FROM deps AS build
COPY tsconfig.json ./
COPY src ./src
COPY scripts ./scripts
RUN npm run build
# Production image with only runtime dependencies
FROM node:20-alpine AS runtime
WORKDIR /app
ENV NODE_ENV=production \
PORT=3001 \
MCP_BASE_PATH=/mcp
COPY package*.json ./
RUN if [ -f package-lock.json ]; then npm ci --omit=dev; else npm install --omit=dev; fi \
&& npm cache clean --force
# Copy compiled application
COPY --from=build /app/dist ./dist
# Ensure non-root execution and allow log file writes
RUN addgroup -g 1001 appgroup \
&& adduser -D -G appgroup -u 1001 appuser \
&& chown -R appuser:appgroup /app
USER appuser
EXPOSE 3001
CMD ["node", "dist/remote.js"]