docker-certbot-nginx/Dockerfile

12 lines
254 B
Text
Raw Normal View History

2025-02-18 22:57:34 +04:00
FROM alpine:latest
RUN apk add --no-cache nginx python3 py3-virtualenv
RUN python3 -m venv /venv
RUN /venv/bin/pip install -U pip certbot certbot-nginx
RUN apk del py3-virtualenv && rm -rf /var/cache/apk
COPY ./entrypoint.sh /
CMD ["/entrypoint.sh"]