Update Next.js configuration for standalone output; add type checking script to package.json; enhance Prisma schema with binary targets; modify authentication API to only require email; improve evaluation detail page with Link component; add ESLint directive in new evaluation page; adjust theme provider for state setting; refine export-utils test type assertion.

This commit is contained in:
Julien Froidefond
2026-02-20 09:35:22 +01:00
parent 9fcceb2649
commit 678517aee0
15 changed files with 149 additions and 10 deletions

21
docker-compose.dev.yml Normal file
View File

@@ -0,0 +1,21 @@
# Dev avec hot reload (source montée)
services:
app:
build:
context: .
dockerfile: Dockerfile.dev
image: iag-dev-evaluator-dev
working_dir: /app
ports:
- "3000:3000"
environment:
- DATABASE_URL=file:/data/db/dev.db
- WATCHPACK_POLLING=true
volumes:
- .:/app
- db-data:/data/db
- /app/node_modules # anonymous volume pour éviter écrasement
command: sh -c "corepack enable pnpm && pnpm install && pnpm exec prisma generate && pnpm exec prisma db push && pnpm run dev"
volumes:
db-data: