https://github.com/crowdcode-de/docker-vuepress-cli
VuePress Container for dev and build. https://www.crowdcode.io
https://github.com/crowdcode-de/docker-vuepress-cli
docker vue vuepress
Last synced: about 1 month ago
JSON representation
VuePress Container for dev and build. https://www.crowdcode.io
- Host: GitHub
- URL: https://github.com/crowdcode-de/docker-vuepress-cli
- Owner: crowdcode-de
- License: apache-2.0
- Created: 2019-01-20T22:27:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T16:22:09.000Z (over 7 years ago)
- Last Synced: 2026-02-16T06:00:03.425Z (4 months ago)
- Topics: docker, vue, vuepress
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/crowdcode/vuepress-cli
- Size: 10.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-vue-cli
Docker image for [VUEPRESS](https://vuepress.vuejs.org/) to use as build container.
Image on dockerhub: [https://hub.docker.com/r/crowdcode/vuepress/](https://hub.docker.com/r/crowdcode/vuepress/)
Project on Github: [https://github.com/crowdcode-de/docker-vuepress-cli](https://github.com/crowdcode-de/docker-vuepress-cli)
Currently, this image uses node v11.7.0 (npm 6.5.0), vue-cli 3.3.0, vuepress and Debian stretch as base distribution.
## Example usage
Create a markdown file:
```
echo '# Hello VuePress' > README.md
```
Start vuepress development server:
```
docker run -it --rm -p 8080:8080 -p 8081:8081 -v "$PWD":/workspace crowdcode/vuepress vuepress dev
```
Start writing your content and have a look on [http://localhost:8080](http://localhost:8080). The Port 8081 is used for hot reload after you changed a file.
Build to static files with:
```
docker run -it --rm -v "$PWD":/workspace crowdcode/vuepress vuepress build
```