Files
tp/certbot/Dockerfile
T
valitovgaziz 845f7e476f modified: certbot/Dockerfile
do not install cron couse it is being in inmage from start
2025-07-20 08:43:13 +05:00

20 lines
597 B
Docker

FROM certbot/certbot
# устанавливать cron отдельно не нужно он уже есть в этом image certbot/certbot
# Создаем директории для конфигов
RUN mkdir -p /etc/letsencrypt/config
# Копируем конфигурационные файлы
COPY scripts/ /opt/
# Устанавливаем права
RUN chmod +x /opt/init-certbot.sh
RUN chmod +x /opt/checkRenewCerts.sh
RUN chmod +x /opt/renewEasysite102.sh
RUN chmod +x /opt/renewValitovGazizCert.sh
RUN chmod +x /opt/renewYalarbaCert.sh
ENTRYPOINT ["/opt/init-certbot.sh"]