We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c8d903 commit ad38a42Copy full SHA for ad38a42
Dockerfile
@@ -57,6 +57,7 @@ COPY models/ ./models/
57
COPY routes/ ./routes/
58
COPY schemas/ ./schemas/
59
COPY services/ ./services/
60
+COPY tools/ ./tools/
61
62
# Copy entrypoint and healthcheck scripts
63
COPY --chmod=755 scripts/entrypoint.sh ./entrypoint.sh
scripts/entrypoint.sh
@@ -20,6 +20,10 @@ else
20
echo "✔ Existing database file found. Skipping seed copy."
21
fi
22
23
+echo "🔄 Running seed scripts to ensure schema is up to date..."
24
+python /app/tools/seed_001_starting_eleven.py --db-path "$VOLUME_STORAGE_PATH"
25
+python /app/tools/seed_002_substitutes.py --db-path "$VOLUME_STORAGE_PATH"
26
+
27
echo "✔ Ready!"
28
echo "🚀 Launching app..."
29
exec "$@"
0 commit comments