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:
14
docker-entrypoint.sh
Normal file
14
docker-entrypoint.sh
Normal 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
|
||||
Reference in New Issue
Block a user