Files
NetForge/Dockerfile
kevin-asprec dcffed4a0d feat: add Docker deployment, UAT test suites, and fix signup middleware bug
- Add Dockerfile, docker-entrypoint.sh, and .dockerignore for containerized deployment
- Fix middleware to exclude /api/tenants/signup from auth (P0 signup bug)
- Add Playwright E2E tests (16 browser tests) and curl-based API test script (80 tests)
- Add playwright config and dev dependency
- Update .gitignore with proper exclusions
- Add v1 milestone audit report and ISP system PRD

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 08:20:54 +08:00

21 lines
350 B
Docker

FROM node:20-alpine
WORKDIR /app
# Install dependencies first (layer cache optimization)
COPY package.json package-lock.json ./
RUN npm ci
# Copy source code
COPY . .
# Generate Prisma client at build time
RUN npx prisma generate
# Make entrypoint executable
RUN chmod +x docker-entrypoint.sh
EXPOSE 3000
ENTRYPOINT ["./docker-entrypoint.sh"]