Fix jwt-token

This commit is contained in:
2025-09-13 08:54:16 +02:00
parent a2403ab5cd
commit 22d925d14a
11 changed files with 585 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
FROM certbot/certbot:latest
# Install additional tools and python packages
RUN apk add --no-cache \
curl \
jq \
bash \
dcron \
nginx \
openssl
# Install dns-lexicon for DNS providers support
RUN pip install dns-lexicon[full]
# Create necessary directories
RUN mkdir -p /app/scripts /var/log/certbot
# Copy renewal scripts
COPY scripts/ /app/scripts/
RUN chmod +x /app/scripts/*.sh
# Copy crontab
COPY crontab /etc/crontabs/root
# Copy entrypoint
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Create a simple nginx config for HTTP challenges
COPY nginx.conf /etc/nginx/nginx.conf
WORKDIR /app
ENTRYPOINT ["/entrypoint.sh"]
CMD ["crond", "-f", "-l", "2"]