You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-3
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
# vue-cli-plugin-docker-nginx
2
2
3
-
> vue-cli-plugin that adds a minimal docker deployment using a nginx server to serve your static files
3
+
> having a node container running an express server seemed kind of overkill for serving a built vue-app
4
4
5
-
## Installation
5
+
This is a vue-cli-plugin that adds a minimal docker deployment (**~19MB** + static files) using nginx to serve your vue-app
6
+
7
+
### Installation
6
8
7
9
```
8
10
vue add vue-cli-plygin-docker-nginx
@@ -16,7 +18,13 @@ This will automatically add all the files needed to your existing vue-cli projec
16
18
npm run docker
17
19
```
18
20
19
-
This will build a docker container and run it on a free port. Please make sure to have [docker](https://docs.docker.com/install/) installed and running on your machine.
21
+
This will build a docker container and run it on port `3000`. If you want to run it on different port change the run script in your `package.json` to
0 commit comments