File size: 414 Bytes
c1bb120
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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