Skip to content

Instantly share code, notes, and snippets.

@rista404
Created February 3, 2019 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rista404/4b2cbe9cb44846f707ca7b82ed1954ed to your computer and use it in GitHub Desktop.
Save rista404/4b2cbe9cb44846f707ca7b82ed1954ed to your computer and use it in GitHub Desktop.
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