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
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user