aboutsummaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Containerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Containerfile b/Containerfile
index fb8eb2e..4eec831 100644
--- a/Containerfile
+++ b/Containerfile
@@ -1,2 +1,5 @@
-FROM nginx:alpine
-COPY public /usr/share/nginx/html
+FROM alpine:3
+RUN apk add --no-cache git hugo nginx
+COPY clone-generate-and-serve.sh /bin/clone-generate-and-serve.sh
+ENTRYPOINT ["/bin/clone-generate-and-serve.sh"]
+