From ed49eb7e807ac6005a1b86f80a95eb878b8d8de0 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Fri, 9 Apr 2021 08:56:58 -0800 Subject: [PATCH] specify absolute path --- mealie/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mealie/run.sh b/mealie/run.sh index 12a5d142d674..56ce31532cd6 100755 --- a/mealie/run.sh +++ b/mealie/run.sh @@ -4,11 +4,11 @@ ARG1=${1:-production} # Set Script Directory - Used for running the script from a different directory. -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +# DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" # # Initialize Database Prerun -poetry run python $DIR/db/init_db.py -poetry run python $DIR/services/image/minify.py +poetry run python /app/mealie/db/init_db.py +poetry run python /app/mealie/services/image/minify.py # Migrations # TODO