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>
This commit is contained in:
kevin-asprec
2026-03-06 08:20:54 +08:00
parent d47d108a88
commit dcffed4a0d
12 changed files with 1849 additions and 2 deletions

14
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -e
echo "==> Generating Prisma client..."
npx prisma generate
echo "==> Pushing schema to database..."
npx prisma db push --skip-generate
echo "==> Seeding database..."
npx tsx prisma/seed.ts
echo "==> Starting Next.js dev server..."
exec npm run dev