Added configuration which adds Nginx with Letsencrypt certificate

This commit is contained in:
Christian Lerrahn
2020-04-28 18:45:15 +10:00
parent 4a44c06b6e
commit 51f229262d
4 changed files with 141 additions and 0 deletions

10
nginx-certbot/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM nginx
RUN apt-get update && \
apt-get install -y certbot curl python-certbot-nginx && \
apt-get -y autoclean; apt-get -y autoremove; \
rm -rf /var/lib/apt/lists/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod 700 /entrypoint.sh
CMD ["/entrypoint.sh"]