rename long name to short name

This commit is contained in:
2025-10-23 02:48:42 +05:00
parent df18d2083d
commit fd7a55f626
229 changed files with 39 additions and 40 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM certbot/certbot
# Проверяем наличие crond (используем command -v вместо which)
RUN if ! command -v crond > /dev/null 2>&1; then \
echo "Cron not found. Installing cronie..."; \
apk add --no-cache cronie; \
else \
echo "Cron is already installed."; \
fi
# Создаем директории для конфигов
RUN mkdir -p /etc/letsencrypt/config
# Копируем конфигурационные файлы
COPY scripts/ /opt/
# Устанавливаем права
RUN chmod +x /opt/*
ENTRYPOINT ["/opt/init-certbot.sh"]