13c6c6f556
modified: certbot/Dockerfile
14 lines
352 B
Docker
14 lines
352 B
Docker
FROM certbot/certbot
|
|
|
|
# Создаем директории для конфигов
|
|
RUN mkdir -p /etc/letsencrypt/config
|
|
|
|
# Копируем конфигурационные файлы
|
|
COPY scripts/ /opt/
|
|
|
|
# Устанавливаем права
|
|
RUN chmod +x /opt/init-certbot.sh
|
|
RUN chmod +x /opt/renewAllCerts.sh
|
|
|
|
ENTRYPOINT ["/opt/init-certbot.sh"]
|