updated certbot files

This commit is contained in:
2026-03-16 20:06:51 -06:00
parent bfbd539178
commit b60823b33a
3 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
FROM nginx:1.25-alpine
# Install Certbot (Python-based)
RUN apk add --no-cache certbot python3 py3-pip
# Add entrypoint script to auto-renew certs (optional)
COPY certbot-entrypoint.sh /usr/local/bin/certbot-entrypoint.sh
RUN chmod +x /usr/local/bin/certbot-entrypoint.sh
ENTRYPOINT ["/usr/local/bin/certbot-entrypoint.sh"]
CMD ["nginx", "-g", "daemon off;"]