update readme

This commit is contained in:
Andy 2018-12-29 14:25:03 +01:00
parent 5307b6e223
commit 40d061ea32
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

View File

@ -78,15 +78,14 @@ You can use the following alias:
> add this to your ``~/.bash_alias`` file > add this to your ``~/.bash_alias`` file
```sh ```sh
function docker_helper_run() { function docker_helper_up() {
command cd ~/git/$1 command cd ~/git/$1
docker-compose rm -f "$1" docker-compose up -d "$1"
docker-compose run -d --name "$1" "$@"
command cd ~- command cd ~-
} }
function steam() { function steam() {
docker_helper_run "$FUNCNAME" "$@" docker_helper_up "$FUNCNAME" "$@"
} }
``` ```