docker/_nginx/Dockerfile
2023-11-26 15:44:35 +01: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 \
cron \
python3-certbot-nginx \
&& 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/