aboutsummaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Containerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Containerfile b/Containerfile
index 4eec831..71a3c5c 100644
--- a/Containerfile
+++ b/Containerfile
@@ -1,5 +1,7 @@
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"]
-
+COPY nginx.conf /etc/nginx/http.d/default.conf
+EXPOSE 80
+STOPSIGNAL SIGQUIT
+CMD ["/bin/clone-generate-and-serve.sh"]