feat: Add Docker entrypoint script for application orchestration and implement cleanup for stuck photo processing tasks with improved error handling.
This commit is contained in:
@@ -151,6 +151,9 @@ EOF
|
||||
if [ ! -f "manage.py" ] && [ -d "myproject" ]; then
|
||||
echo "Changing directory to myproject..."
|
||||
cd myproject
|
||||
# Устанавливаем PYTHONPATH чтобы Python мог найти модуль myproject
|
||||
export PYTHONPATH=$(pwd):$PYTHONPATH
|
||||
echo "PYTHONPATH set to: $PYTHONPATH"
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
|
||||
Reference in New Issue
Block a user