Skip to content

kaizendorks/vuecli-in-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue CLI Docker Image

Docker image for running the Vue CLI

Build Status

Usage

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/

  1. Pull image: docker pull kaizendorks/vue

  2. Print help: docker run --rm kaizendorks/vue

  3. 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
    
  4. The changes made inside the container's /src folder will also persist on your hhost machine.

Contributing

  1. Build image: docker build -t vue .

  2. 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
    
  3. 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
    

About

Docker image for running the Vue CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published