Skip to content

fireworkweb/docker-vue-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

fireworkweb/vue-cli

Simple image to run @vue/cli

The default command of the image is vue ui.

How to use

Alias

alias vue="docker run -it --rm -v \$(pwd):/app fireworkweb/vue-cli"
alias vueui="docker run -it --rm -v \$(pwd):/app -p 8000:8000 fireworkweb/vue-cli"

Run commands:

docker run -it --rm -v $(pwd):/app fireworkweb/vue-cli create my-project
docker run -it --rm -v $(pwd):/app fireworkweb/vue-cli serve file.vue

Run UI:

docker run -it --rm -v $(pwd):/app -p 8000:8000 fireworkweb/vue-cli