mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
specify absolute path
This commit is contained in:
parent
dc0775602c
commit
ed49eb7e80
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user