twenty/packages/twenty-docker/twenty
Jérémy M 04edf2bf7b
feat: add resolve absolute path util (#5836)
Add a new util called `resolveAbsolutePath` to allow providing absolute
path for environment variable like `STORAGE_LOCAL_PATH`.
If the path in the env start with `/` we'll not prefix it with
`process.cwd()`.

Also we're using a static path for the old `db_initialized` file now
named `db_status` and stop using the env variable for this file as this
one shouldn't ne stored in the `STORAGE_LOCAL_PATH`.

Fix #4794

---------

Co-authored-by: Quentin Galliano <qgalliano@gmail.com>
2024-06-12 21:17:31 +02:00
..
Dockerfile fix: attempt to fix Dockerfile front build (#5020) 2024-04-18 11:24:39 +02:00
entrypoint.sh feat: add resolve absolute path util (#5836) 2024-06-12 21:17:31 +02:00