12 lines
449 B
Docker
12 lines
449 B
Docker
FROM docker.io/nginx:latest as base
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
certbot \
|
|
cron \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY cron.d/ /etc/cron.d/
|
|
COPY entrypoint.d/ /docker-entrypoint.d/
|
|
COPY default.conf /tmp/
|
|
VOLUME /etc/nginx/conf.d/ /etc/letsencrypt/
|