mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-09 21:49:41 +00:00
Mention usage with docker
This commit is contained in:
parent
8f0c6f32c3
commit
4b10aff9d0
|
@ -22,3 +22,12 @@ hugo server arguments to the script, just like you would with running bare `hugo
|
|||
```
|
||||
$ ./scripts/server.sh --bind 0.0.0.0 --port 80 --baseURL https://itsdrike.com/
|
||||
```
|
||||
|
||||
## Docker
|
||||
|
||||
Another way to deploy the webpage is to use the automatically built docker container, which you can find [here](https://github.com/ItsDrike/itsdrike.com/pkgs/container/web). This container is always built from latest version in the main branch, and to get it, you can simply run
|
||||
```
|
||||
$ sudo docker run -p 8080:80 ghcr.io/itsdrike/web
|
||||
```
|
||||
|
||||
Which will expose the web on port 8080 (see it at http://127.0.0.1:8080)
|
||||
|
|
Loading…
Reference in a new issue