Skip to content

Instantly share code, notes, and snippets.

@rista404 rista404/hdup.sh
Created Feb 3, 2019

Embed
What would you like to do?
Shortcut for creating a heroku docker app
function hdup() {
if [ "$1" != "" ]
then
heroku apps:create $1 --region eu -s container
echo "build:\n docker:\n web: Dockerfile" > heroku.yml
touch Dockerfile
else
echo "Please provide an app name."
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.