aboutsummaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-02-12 03:26:11 +0000
committerJulio Capote <jcapote@gmail.com>2023-02-12 03:26:11 +0000
commit3ec9d8afe0f90f77239db0484a125f0747139a70 (patch)
tree03add1c5abff9beefa3c38fbf88adce0065f7413 /Containerfile
parent198bd5ce59d698420c34052d4ea71950a686cf44 (diff)
downloadcapotej.com-3ec9d8afe0f90f77239db0484a125f0747139a70.tar.gz
finish self-updating container
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"]