aboutsummaryrefslogtreecommitdiff
path: root/Containerfile
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-02-12 02:06:56 +0000
committerJulio Capote <jcapote@gmail.com>2023-02-12 02:06:56 +0000
commit198bd5ce59d698420c34052d4ea71950a686cf44 (patch)
treec73519f7885cf0ad2dda03f3b3a58f14dc7bb259 /Containerfile
parentf24f2d15275961f1c0144e68fde75a60aeaaa165 (diff)
downloadcapotej.com-198bd5ce59d698420c34052d4ea71950a686cf44.tar.gz
start of container entrypoint
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"]
+