File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ docker-serve:
58
58
@echo -e " $( CCRED) **** The use of docker-serve is deprecated. Use container-serve instead. ****$( CCEND) "
59
59
$(MAKE ) container-serve
60
60
61
- container-image :
61
+ container-image : # # Build a container image for the preview of the website
62
62
$(CONTAINER_ENGINE ) build . \
63
63
--network=host \
64
64
--tag $(CONTAINER_IMAGE ) \
@@ -67,7 +67,7 @@ container-image:
67
67
container-build : module-check
68
68
$(CONTAINER_RUN ) --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 $(CONTAINER_IMAGE ) sh -c " npm ci && hugo --minify"
69
69
70
- container-serve : module-check
70
+ container-serve : module-check # # Boot the development server using container. Run `make container-image` before this.
71
71
$(CONTAINER_RUN ) --read-only --mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 -p 1313:1313 $(CONTAINER_IMAGE ) hugo server --buildFuture --bind 0.0.0.0 --destination /tmp/hugo --cleanDestinationDir
72
72
73
73
test-examples :
You can’t perform that action at this time.
0 commit comments