feat: add certbot to PATH

This commit is contained in:
DarkCat09 2025-02-19 15:49:30 +04:00
parent f2a88873e6
commit e47a81fc84
Signed by: DarkCat09
GPG key ID: BD3CE9B65916CD82

View file

@ -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 /