FROM mcr.microsoft.com/playwright:v1.50.1-noble as build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
# Copy the rest of the application code
COPY src ./src
COPY tsconfig.json ./
# Build the application
RUN npm run build
# Create a new image for the release
FROM mcr.microsoft.com/playwright:v1.50.1-noble
# Set the working directory
WORKDIR /app
# Copy the built application from the previous stage
COPY --from=build /app/dist ./dist
COPY package.json package-lock.json ./
# Install only production dependencies
RUN npm ci --only=production
# Expose the port the app runs on
EXPOSE 3000
# Start the application
CMD ["node", "dist/index.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/Kotelberg/playwright-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server