update readme

This commit is contained in:
brooke 2024-07-18 11:05:55 -04:00
parent c87e951f39
commit d932bead9a

View file

@ -2,18 +2,18 @@
Based on alpine:3.20
Contains nodejs, hugo, npm, rsync
Contains nodejs, hugo, rsync
`hugo-ci:<hugo_version>-<node_version>`
## To use
Run the following in your hugo directory:
```
docker run -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:latest
```
docker run -v .:/home/app -ti --network=host codeberg.org/mycosys/hugo-ci:latest
To also host locally:
```
docker run -p 1313:1313 -v .:/home/app -ti --network=host git.myco.systems/mycosystems/hugo-ci:latest
```
docker run -p 1313:1313 -v .:/home/app -ti --network=host codeberg.org/mycosys/hugo-ci:latest
## Building
@ -21,13 +21,11 @@ Building requires docker, buildx. Nodejs is included in the ci workflow becuase
I recommend changing the option `JOBS` in the Dockerfile as the current number is optimized for a custom KVM machine that's being used as our runner.
Our runner is given these resources:
- 64 GB DDR4
- 128 vcores passed as EPYC 7763 (host) using NUMA
- 64 GB emulated SSD
## Links
- ~~[BetterWeb Docker](https://hub.docker.com/r/betterweb/hugo)~~
@ -36,4 +34,6 @@ Our runner is given these resources:
- [Codeberg Repo](https://codeberg.org/mycosys/hugo-ci)
- [MycoSystems Repo](https://git.myco.systems/mycosystems/hugo-ci)
- [Codeberg Packages](https://codeberg.org/mycosys/-/packages/container/hugo-ci/versions)