docker-certbot-nginx/Dockerfile

11 lines
254 B
Docker

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"]