https://github.com/webmasterdevlin/vue-k8s
https://github.com/webmasterdevlin/vue-k8s
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/webmasterdevlin/vue-k8s
- Owner: webmasterdevlin
- Created: 2020-07-06T17:12:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-06T17:42:46.000Z (almost 6 years ago)
- Last Synced: 2025-01-26T13:29:59.323Z (over 1 year ago)
- Language: Vue
- Homepage: https://hub.docker.com/repository/docker/webmasterdevlin/vue-k8s
- Size: 85 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Dockerizing a Vuejs app
Login to Docker Hub
```zsh
$ docker login
```
create a Vuejs container
```zsh
$ docker build -t {yourDockerUsername}/vuejs-app:1.0.0 .
```
Test the Vuejs container by running it. It should be visible at localhost:8080
```zsh
$ docker run -p 8080:80 {yourDockerUsername}/vuejs-app:1.0.0
```
Push the container to your Docker Hub account repository
```zsh
$ docker push {yourDockerUsername}/vuejs-app:1.0.0
```