fixing readme deployment instructions

This commit is contained in:
ngn 2023-12-09 16:31:51 +00:00
parent f5c1dbf563
commit 4421cccf32

View File

@ -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
``` ```