feat(infra): Added way to run custom commands for different services

- new `EXTRA_FILES` docker build args to specify directory to be copied at
  /extra
- run `${SERVICE}/entrypoint.sh` as docker entry point
- added src/empty folder to so if EXTRA_FILES isn't set => use empty
  folder (since no conditional COPY)
This commit is contained in:
Maieul BOYER 2025-08-04 14:21:42 +02:00
parent 1ebe0868f5
commit a2b896916e
6 changed files with 35 additions and 10 deletions

View file

@ -1,4 +1,5 @@
**/node_modules
**/dist
@shared/src/database/init.sql.ts
**/Dockerfile
.gitkeep
.dockerignore