mirror of
https://github.com/executeautomation/mcp-database-server.git
synced 2025-12-09 21:12:57 +08:00
Initial Commit
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
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 [""]
|
||||
Reference in New Issue
Block a user