mirror of
https://github.com/AdsPower/adspower-browser.git
synced 2026-09-19 03:08:18 +08:00
23 lines
528 B
Docker
23 lines
528 B
Docker
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
|
|
FROM node:lts-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY package.json pnpm-lock.yaml ./
|
|
|
|
# Use npm install if pnpm is not available
|
|
RUN npm install --ignore-scripts
|
|
|
|
# Copy remaining source files
|
|
COPY tsconfig.json ./
|
|
COPY src ./src
|
|
|
|
# Build the project (transpiling TypeScript to JavaScript)
|
|
RUN npm run build
|
|
|
|
# Expose no ports as MCP runs via stdio; if needed, expose port here
|
|
|
|
# Set entrypoint
|
|
ENTRYPOINT ["node", "build/index.js"]
|