kcar 95af17c02d feat: migrate to docker-compose with selfhosted-supabase-mcp
- Replace legacy directory structure (api/, db/, functions/, logs/, pooler/) with
  single docker-compose.yml based self-hosted setup
- Add selfhosted-supabase-mcp TypeScript MCP server for database management
- Add .dockerignore for Docker build context
- Update .gitignore to exclude .env files, volumes/, backups, logs
2026-02-21 19:32:57 +00:00

19 lines
409 B
Docker

# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config
# Use official Node.js LTS on Alpine
FROM node:lts-alpine
WORKDIR /app
# Install dependencies (including dev for build)
COPY package.json package-lock.json ./
RUN npm install
# Copy remaining source files
COPY . .
# Build the project
RUN npm run build
# Entrypoint for MCP server
ENTRYPOINT ["node", "dist/index.js"]