#!/bin/sh set -e # Materialize the Vertex ADC credentials from the Space secret (if provided), so # google.auth can find them for real Veo generation. if [ -n "$GOOGLE_CREDENTIALS_JSON" ]; then printf '%s' "$GOOGLE_CREDENTIALS_JSON" > /tmp/gcp-creds.json export GOOGLE_APPLICATION_CREDENTIALS=/tmp/gcp-creds.json fi python -m pipeline.cli migrate exec python -m pipeline.cli serve --host 0.0.0.0 --port 7860