From e47a81fc84ce308969a5b427e4593a1b2291d0eb Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Wed, 19 Feb 2025 15:49:30 +0400 Subject: [PATCH] feat: add certbot to PATH --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 11d6f08..7708fec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,10 @@ 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 /venv/bin/pip install certbot certbot-nginx +ENV PATH="/venv/bin:$PATH" +RUN /venv/bin/pip cache purge && /venv/bin/pip uninstall -y pip RUN apk del py3-virtualenv && rm -rf /var/cache/apk COPY ./run.sh /