feat(infra): singular dockerfile with vite bundling

Using Vite as a bundler to allow easier builds, with shared library

Moved to a single dockerfile that takes an argument to specify which
service to use

moved some file around to faciliate bundling with vite

cried a lot
This commit is contained in:
Maieul BOYER 2025-07-30 21:27:56 +02:00 committed by Maix0
parent bdc4616106
commit 573af0bc4b
21 changed files with 1587 additions and 1062 deletions

View file

@ -3,7 +3,7 @@
"compilerOptions": {
"target": "ES2023",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"moduleResolution": "node",
"newLine": "lf",
"noFallthroughCasesInSwitch": true,
@ -16,14 +16,14 @@
"strict": true,
"outDir": "dist",
"rootDir": "src",
"rootDir": ".",
"baseUrl": ".",
"skipLibCheck": true,
"lib": ["ESNext"],
"paths": {
"@shared/database": ["./@shared/src/database"],
"@shared/uuid": ["./@shared/src/uuid"]
"@shared/database": ["@shared/src/database"],
"@shared/uuid": ["@shared/src/uuid"]
}
}
}