Public | Automated Build

Last pushed: 17 days ago
Short Description
Vue.js CLI container.
Full Description

About

This container will have the items necessary to run the vue-cli.

Using this container

In your .bashrc, .zshrc, or similar file include aliases for the
following commands:

alias vue='docker run -it --rm -v "$PWD":"$PWD" -w "$PWD"  -u "$(id -u)" ebiven/vue-cli vue'

Using this via docker-compose:

version: '2'
services:
  web:
    image: ebiven/vue-cli
    command: npm run dev
    volumes:
      - .:/code
    ports:
      - "8080:8080"
Docker Pull Command
Owner
ebiven
Source Repository

Comments (2)
webzoa
5 months ago

How to connect with the browser? At http://localhost:8080 I get "localhost refused to connect."
Thanks!

herrphon
9 months ago

If you add a user option to the command, you don't have file permission problems when creating files:

alias vue='docker run -it --rm -v "$PWD":"$PWD" -w "$PWD"  -u "$(id -u)" ebiven/vue-cli vue'