Sign inSign up

kaizendorks/vue

By kaizendorks

•Updated almost 6 years ago

Docker Image for running the Vue CLI.

Image
0

1.1K

kaizendorks/vue repository overview

⁠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
    

Tag summary

Content type

Image

Digest

Size

130.3 MB

Last updated

almost 6 years ago

docker pull kaizendorks/vue