feat(docker): Download feature flags on container start

ref: #675 #575
This commit is contained in:
2025-03-13 19:52:04 +09:30
parent b2e82fd8c9
commit 2f95482150
2 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@ node_modules/
package-lock.json
package.json
**.junit.xml
feature_flags.json

11
includes/entrypoint.sh Normal file → Executable file
View File

@ -62,8 +62,17 @@ if [ "$1" == "" ]; then
fi;
echo "[Info] SupervisorD Setup successfully"
echo "[info] SupervisorD Setup successfully"
echo "[info] Fetching available feature flags";
export init_dir=${PWD}
cd /app;
python manage.py feature_flag;
echo "[info] Starting SupervisorCTL";
/usr/local/bin/supervisord;