mirror of
https://github.com/executeautomation/mcp-database-server.git
synced 2025-12-09 21:12:57 +08:00
26 lines
531 B
Docker
26 lines
531 B
Docker
FROM node:20-alpine
|
|
|
|
# Add metadata
|
|
LABEL maintainer="ExecuteAutomation <info@executeautomation.com>"
|
|
LABEL description="ExecuteAutomation Database Server - A Model Context Protocol server for SQLite"
|
|
LABEL version="1.0.0"
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package.json and package-lock.json
|
|
COPY package*.json ./
|
|
|
|
# Install dependencies
|
|
RUN npm ci
|
|
|
|
# Copy source code
|
|
COPY . .
|
|
|
|
# Build the TypeScript code
|
|
RUN npm run build
|
|
|
|
# Set the entrypoint
|
|
ENTRYPOINT ["node", "dist/index.js"]
|
|
|
|
# Default command (to be overridden by the user)
|
|
CMD [""] |