forked from democratize-technology/DesktopCommanderMCP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (18 loc) · 634 Bytes
/
Dockerfile
File metadata and controls
26 lines (18 loc) · 634 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine
ENV MCP_CLIENT_DOCKER=true
# Create app directory
WORKDIR /usr/src/app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies without triggering any unwanted scripts
RUN npm install --ignore-scripts
# Run post-install script for @vscode/ripgrep to download the binary
RUN npm rebuild @vscode/ripgrep
# Copy all source code
COPY . .
# Build the application
RUN npm run build
# Expose port if needed (not specified, so using none)
# Command to run the server
CMD [ "node", "dist/index.js" ]