$ docker pull aminnairi/vue-cli
$ docker run --volume "$PWD":/home/user/project aminnairi/vue-cli
version: "3"
services:
vue:
image: aminnairi/vue-cli
volumes:
- .:/home/user/project
$ docker-compose run vue
I recommend using Vue UI for its simplicity.
$ docker run --volume "$PWD":/home/user/project --publish 8000:8000 --publish 8080:8080 aminnairi/vue-cli ui --host 0.0.0.0 --port 8000
# Version of the API to use
version: "3"
services:
ui:
# Docker image to use
image: aminnairi/vue-cli
# Command run when starting the service
command: ui --host 0.0.0.0 --port 8000
volumes:
# Project folder to mount
- .:/home/user/project
ports:
# Port for the Vue UI interface
- 8000:8000
# Port for your Vue application
- 8080:8080
$ docker-compose up ui
Content type
Image
Digest
Size
101.2 MB
Last updated
over 6 years ago
docker pull aminnairi/vue-cli