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:
2025-12-13 22:42:58 +03:00
parent ea1d9546b9
commit f03e750030
5 changed files with 229 additions and 1 deletions

View File

@@ -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