We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1608c4c commit 62ed23dCopy full SHA for 62ed23d
Dockerfile
@@ -0,0 +1,10 @@
1
+FROM icr.io/ibm/alpine
2
+RUN mkdir -p /home/sldn/html
3
+COPY ./ /home/sldn
4
+WORKDIR "/home/sldn"
5
+EXPOSE 1313
6
+RUN ./bin/hugo -d html -b http://localhost:1313
7
+WORKDIR "/home/sldn/html"
8
+RUN apk add mini_httpd
9
+RUN chown minihttpd /home/sldn/html
10
+CMD mini_httpd -C "/home/sldn/min_http.conf" -D -l stdout
min_http.conf
@@ -0,0 +1,6 @@
+## do not leave empty lines in here!
+#host=www.example.org
+port=1313
+user=minihttpd
+dir=/home/sldn/html
+nochroot
requirements.txt
@@ -0,0 +1,2 @@
+click
+requests
0 commit comments