Files
mcp-database-server/Dockerfile
2025-04-13 11:49:08 +12:00

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 [""]