Created
February 3, 2019 17:19
-
-
Save rista404/4b2cbe9cb44846f707ca7b82ed1954ed to your computer and use it in GitHub Desktop.
Shortcut for creating a heroku docker app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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