Change stage target to docker-serve in Makefile (#9216)
* Change stage target to docker-serve in Makefile docker-serve is documented in the readme (from #9128). * Update underlying command for make docker-serve The underlying command listed in the README wasn't exactly the same as the command in the Makefile. * Remove old Dockerfile for Jekyll site PR #9128 added a new Dockerfile for the Hugo site. The old staging container is no longer needed.
This commit is contained in:
committed by
k8s-ci-robot
parent
380613cdb1
commit
f59c0e8235
@@ -43,7 +43,9 @@ docker run \
|
||||
--volume $(PWD):/src \
|
||||
-p 1313:1313 \
|
||||
kubernetes-hugo \
|
||||
hugo server --watch --bind 0.0.0.0
|
||||
hugo server \
|
||||
--watch \
|
||||
--bind 0.0.0.0
|
||||
```
|
||||
|
||||
As when building without using a Docker container, the results of the build will be published to the `public` directory (the default output directory for [Hugo](https://gohugo.io), the static site generator used to build this site).
|
||||
|
||||
Reference in New Issue
Block a user