8ebc1da9e4
- Astro statique, EN par defaut + /fr/ + /nl/, detection langue navigateur - i18n par fichiers JSON, ajouter une langue = ajouter des traductions - Contenu original porte a l'identique (diff d'inventaire par langue) - Chronologie legislative corrigee sur sources primaires (PE, Conseil, votes) - Timeline 23 precedents + observatoire 35 items + annuaire 66 outils FOSS, chaque affirmation verifiee et sourcee - Zero requete tierce (teste), lisible JS coupe, axe WCAG AA x2 themes - Version offline monofichier par langue a chaque build - Docker multi-stage vers nginx + CSP stricte auto-generee - CI GitHub Actions (SHA-pinnees) + verification hebdo des liens - CONTRIBUTING : divulgation d'affiliation obligatoire, allowlist de domaines testee en CI
23 lines
586 B
YAML
23 lines
586 B
YAML
services:
|
|
# live dev server with HMR on http://localhost:4321
|
|
dev:
|
|
image: node:22-alpine@sha256:16e22a550f3863206a3f701448c45f7912c6896a62de43add43bb9c86130c3e2
|
|
working_dir: /app
|
|
command: sh -c "corepack enable && pnpm install --frozen-lockfile && pnpm dev --host"
|
|
ports:
|
|
- '4321:4321'
|
|
volumes:
|
|
- .:/app
|
|
- node_modules:/app/node_modules
|
|
environment:
|
|
- ASTRO_TELEMETRY_DISABLED=1
|
|
|
|
# production-like: the real nginx image with security headers on :8080
|
|
preview:
|
|
build: .
|
|
ports:
|
|
- '8080:8080'
|
|
|
|
volumes:
|
|
node_modules:
|