docker/_nginx/Dockerfile
2023-09-18 11:31:47 +02:00

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/