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

View File

@@ -0,0 +1,29 @@
# Variante Postgres (schema.prisma doit avoir provider = "postgresql")
services:
app:
build: .
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgresql://evaluator:secret@db:5432/evaluator
depends_on:
db:
condition: service_healthy
restart: unless-stopped
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: evaluator
POSTGRES_PASSWORD: secret
POSTGRES_DB: evaluator
volumes:
- pg-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U evaluator"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pg-data: