reworked function
This commit is contained in:
parent
d250b9a29f
commit
0769dbd8c3
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
@ -233,7 +233,7 @@ _alias(){
|
|||
alias dc="docker compose"
|
||||
alias appupdate="docker compose pull && docker compose up -d --force-recreate"
|
||||
drweb(){
|
||||
[[ -z "$1" ]] && 1="."
|
||||
[[ "$1" == "" ]] && 1="./"
|
||||
docker run -p "8080:80" -v "$1:/usr/share/nginx/html:ro" nginx:alpine
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue