Files
metabuilder/codegen/Dockerfile
johndoe6345789 a51130a127 feat: Add external low-code and postgres repositories
- codegen: Low-code React app with JSON-driven component system
- packagerepo: Schema-driven package repository with backend/frontend
- postgres: Next.js app with Drizzle ORM and PostgreSQL

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 16:48:52 +00:00

29 lines
345 B
Docker

FROM node:lts-slim AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci --include=optional
COPY . .
RUN npm run build
FROM node:lts-slim
WORKDIR /app
COPY package*.json ./
RUN npm ci --include=optional --omit=dev
COPY --from=builder /app/dist ./dist
EXPOSE 80
ENV PORT=80
ENV VITE_FLASK_API_URL=""
CMD ["npm", "run", "preview"]