We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5774b0 commit 2e1b1a2Copy full SHA for 2e1b1a2
1 file changed
floki-hugo.yaml
@@ -0,0 +1,14 @@
1
+# For shell to work, need Alpine, Debian or Ubuntu versions of this container.
2
+# See https://hub.docker.com/r/klakegg/hugo/.
3
+image: klakegg/hugo:alpine
4
+mount: /src
5
+docker_switches:
6
+ # Expose port 1313, as this is the port the server exposes for locally built
7
+ # documentation.
8
+ - -p
9
+ - 1313:1313
10
+# The entrypoint for this container is a direct call to the "hugo" script. To
11
+# get a shell, we need to pass "shell" to this script, hence the "hack" of
12
+# setting "shell" to "shell".
13
+shell: shell
14
+# To run a hugo server, run "hugo server -D" from the /src/docs directory.
0 commit comments