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

20 lines
441 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-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
VOLUME ["/etc/letsencrypt"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]