diff --git a/home/.zshrc.docker b/home/.zshrc.docker index 5b666d2..7917121 100644 --- a/home/.zshrc.docker +++ b/home/.zshrc.docker @@ -138,3 +138,15 @@ function gcloud { google/cloud-sdk \ gcloud "$@" } + +function netlify() { + docker run \ + --rm \ + -it \ + --init \ + -v $HOME/.netlify:/home/node/.netlify \ + -v $PWD:/data/ \ + -w /data/ \ + r.sbruder.de/netlify-cli \ + "$@" +}