Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add option to download ingredient images on startup
Roland Geider3ecb4b022630
diff --git a/extras/docker/development/entrypoint.sh b/extras/docker/development/entrypoint.shindex 53557a961..5bc8d30f5 100644--- a/extras/docker/development/entrypoint.sh+++ b/extras/docker/development/entrypoint.sh@@ -51,6 +51,13 @@ thenpython3 manage.py download-exercise-imagesfi+# Download ingredient images+if [[ "$DOWNLOAD_INGREDIENT_IMAGES_ON_STARTUP" == "True" ]];+then+ echo "Downloading ingredient images"+ python3 manage.py download-ingredient-images+fi+# Set the site URLpython3 manage.py set-site-url