From fd982ef9531699a8b29211fa26905dc3ed5554f5 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Wed, 29 Apr 2020 14:32:11 +0100 Subject: [PATCH] . --- letsencrypt-nginx/Dockerfile.git | 4 +++- letsencrypt-nginx/git.sh | 2 ++ letsencrypt-nginx/website/index.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 letsencrypt-nginx/git.sh diff --git a/letsencrypt-nginx/Dockerfile.git b/letsencrypt-nginx/Dockerfile.git index 5771c6e..d9078a8 100644 --- a/letsencrypt-nginx/Dockerfile.git +++ b/letsencrypt-nginx/Dockerfile.git @@ -1,4 +1,6 @@ ARG image FROM $image COPY website /www/data -COPY ./conf/git.conf /etc/nginx/user.conf.d/server._conf \ No newline at end of file +COPY ./conf/git.conf /etc/nginx/user.conf.d/server._conf +COPY git.sh / +CMD sh /git.sh \ No newline at end of file diff --git a/letsencrypt-nginx/git.sh b/letsencrypt-nginx/git.sh new file mode 100644 index 0000000..0662788 --- /dev/null +++ b/letsencrypt-nginx/git.sh @@ -0,0 +1,2 @@ +envsubst < /etc/nginx/user.conf.d/server._conf > /etc/nginx/user.conf.d/server.conf +sh run.sh \ No newline at end of file diff --git a/letsencrypt-nginx/website/index.html b/letsencrypt-nginx/website/index.html index 93bd24c..051a5b3 100644 --- a/letsencrypt-nginx/website/index.html +++ b/letsencrypt-nginx/website/index.html @@ -7,7 +7,7 @@ Bespoke software development. git
  • - drone + drone
  • blog