Based on the official node:16-alpine docker image.
node i -g @vue/cli
Set an alias (and put it in the .bashrc or .bash_aliases):
alias vuecli="docker run -it --rm -v "$PWD":/app -w /app pauloklaus/vuecli:16-alpine vue"
And on the command line:
vuecli create my-new-project
Content type
Image
Digest
Size
123.2 MB
Last updated
over 4 years ago
docker pull pauloklaus/vuecli:16-alpine