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