diff options
author | Julio Capote <jcapote@gmail.com> | 2023-02-12 03:26:11 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-02-12 03:26:11 +0000 |
commit | 3ec9d8afe0f90f77239db0484a125f0747139a70 (patch) | |
tree | 03add1c5abff9beefa3c38fbf88adce0065f7413 /Containerfile | |
parent | 198bd5ce59d698420c34052d4ea71950a686cf44 (diff) | |
download | capotej.com-3ec9d8afe0f90f77239db0484a125f0747139a70.tar.gz |
finish self-updating container
Diffstat (limited to 'Containerfile')
-rw-r--r-- | Containerfile | 6 |
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"] |