feat: initial commit - Jhonny Editor
- Adicionado estrutura completa do projeto - Configurado MCP server para Premiere Pro - Adicionado documentação e skills - Configurado Gitignore para o projeto
This commit is contained in:
Executable
+48
@@ -0,0 +1,48 @@
|
||||
# ── Stage 1: Build MCP server (TypeScript → dist/) ───────────────────────────
|
||||
FROM node:20-alpine AS mcp-builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY tsconfig.json ./
|
||||
COPY src/ ./src/
|
||||
COPY scripts/copy-adobe-uxp-coverage.mjs ./scripts/copy-adobe-uxp-coverage.mjs
|
||||
COPY scripts/generate-adobe-api-inventory.mjs ./scripts/generate-adobe-api-inventory.mjs
|
||||
COPY scripts/generate-uxp-js-api-inventory.mjs ./scripts/generate-uxp-js-api-inventory.mjs
|
||||
|
||||
RUN npm run build
|
||||
|
||||
# ── Stage 2: Build Next.js landing page (→ landing/.next/out/) ───────────────
|
||||
FROM node:20-alpine AS landing-builder
|
||||
|
||||
WORKDIR /landing
|
||||
|
||||
COPY landing/package*.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY landing/ ./
|
||||
|
||||
RUN npm run build
|
||||
|
||||
# ── Stage 3: Production runner ────────────────────────────────────────────────
|
||||
FROM node:20-alpine AS runner
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
RUN apk add --no-cache ffmpeg
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
COPY --from=mcp-builder /app/dist ./dist
|
||||
|
||||
# Copy Next.js static export to landing-dist (referenced in http-server.ts)
|
||||
COPY --from=landing-builder /landing/out ./landing-dist
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "dist/http-server.js"]
|
||||
Reference in New Issue
Block a user