Docker Image for running the Vue CLI.
1.1K
Docker image for running the Vue CLI
In order to use this image simply map your host workdir to src and use the Vue CLI as normal.
Vue Cli Docs: https://cli.vuejs.org/
Pull image: docker pull kaizendorks/vue
Print help: docker run --rm kaizendorks/vue
Create a new Vue app:
# Start a new container and map the current directory to src:
docker run --rm -it \
-v "$(pwd)":/src \
kaizendorks/vue sh
# Once the container starts you can run any vue cli commands:
/src $ vue create myapp
The changes made inside the container's /src folder will also persist on your hhost machine.
Build image: docker build -t vue .
Edit smoke tests:
docker run --rm -it \
-v "$(pwd)":/src \
-v /var/run/docker.sock:/var/run/docker.sock \
iorubs/dgoss edit vue sleep 1d
Run smoke tests:
docker run --rm -it \
-v "$(pwd)":/src \
-v /var/run/docker.sock:/var/run/docker.sock \
iorubs/dgoss run vue sleep 1d
Content type
Image
Digest
Size
130.3 MB
Last updated
almost 6 years ago
docker pull kaizendorks/vue