fixing readme deployment instructions
This commit is contained in:
parent
f5c1dbf563
commit
4421cccf32
@ -3,11 +3,11 @@ Soruce code of Matterlinux's offical website, which is
|
|||||||
hosted at [matterlinux.xyz](https://matterlinux.xyz)
|
hosted at [matterlinux.xyz](https://matterlinux.xyz)
|
||||||
|
|
||||||
### Deployment
|
### Deployment
|
||||||
Website can be built and deployed with docker:
|
After cloning this repository, web server can be built and deployed with docker:
|
||||||
```
|
```
|
||||||
docker build --tag matterwebsite .
|
docker build --tag matterwebsite .
|
||||||
docker run -d --name matterweb \
|
docker run -d --name matterweb \
|
||||||
-p 127.0.0.1:9878:9878 \
|
-p 127.0.0.1:9878:9878 \
|
||||||
-v $PWD/web-content:/app/content \
|
-v $PWD/content:/app/content \
|
||||||
matterwebsite
|
matterwebsite
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user