#!/bin/bash echo "=== VortexCommerce Backend Starting ===" echo "Python version: $(python --version)" echo "Working directory: $(pwd)" echo "User: $(whoami) (UID: $(id -u))" echo "Checking write permissions..." touch /app/test_write && echo "Write OK: /app is writable" && rm /app/test_write || echo "FAIL: /app is NOT writable" echo "=== Starting uvicorn ===" exec uvicorn app.main:app --host 0.0.0.0 --port 7860