remove to use

This commit is contained in:
brooke 2024-07-18 11:08:23 -04:00
parent d932bead9a
commit 21cda0eba0

View file

@ -5,19 +5,9 @@ Based on alpine:3.20
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 codeberg.org/mycosys/hugo-ci:latest
To also host locally:
docker run -p 1313:1313 -v .:/home/app -ti --network=host codeberg.org/mycosys/hugo-ci:latest
## Building
Building requires docker, buildx. Nodejs is included in the ci workflow becuase of it's use in many actions scripts.
Building requires docker, buildx. Nodejs is included in the ci workflow becuase of it's use in many actions scripts, but it is not necessary for local building.
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: