- 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
19 lines
409 B
Docker
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"]
|