From 3ec9d8afe0f90f77239db0484a125f0747139a70 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sat, 11 Feb 2023 22:26:11 -0500 Subject: finish self-updating container --- Containerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Containerfile') 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"] -- cgit v1.2.3