titiler / entrypoint.sh
thanthamky's picture
Create entrypoint.sh
20812fc verified
raw
history blame contribute delete
349 Bytes
#!/bin/bash
# Exit immediately if a command exits with a non-zero status
set -e
echo "Starting Titiler service on port 7860..."
# Start the Titiler application
# We use exec to replace the shell with the uvicorn process, allowing proper signal handling (e.g., graceful shutdown)
exec uvicorn titiler.application.main:app --host 0.0.0.0 --port 7860