This repository has been archived on 2023-02-05. You can view files and clone it, but cannot push or open issues or pull requests.
loki/proxy/Dockerfile

23 lines
505 B
Docker
Raw Normal View History

2017-09-17 23:14:21 +02:00
FROM nginx
2018-12-11 20:31:31 +01:00
ENV DEBIAN_FRONTEND noninteractive
2018-12-11 21:34:04 +01:00
RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install \
2018-12-11 22:39:22 +01:00
openssl \
certbot \
cron \
supervisor
2018-12-11 21:34:04 +01:00
2018-12-16 21:52:18 +01:00
RUN mkdir -p /var/www/html
2018-12-11 20:25:54 +01:00
RUN mkdir /etc/nginx/cert && openssl dhparam -out /etc/nginx/cert/dhparam.pem 2048
2018-12-11 22:39:22 +01:00
COPY certbot.cron /etc/cron.d/certbot
COPY supervisord.conf /etc/supervisord.conf
RUN chmod go-wx /etc/cron.d/certbot
2018-12-11 22:39:22 +01:00
VOLUME ["/etc/letsencrypt"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]