#!/bin/bash set -e if [ -z "$DOWN_LINK" ]; then echo "ERROR: DOWN_LINK is not set" exit 1 fi echo "Downloading source from $DOWN_LINK ..." curl -fsSL "$DOWN_LINK" -o /tmp/source.zip unzip -o /tmp/source.zip -d /app rm /tmp/source.zip echo "Starting application..." exec python oauth.py