feat: add certbot to PATH
This commit is contained in:
parent
f2a88873e6
commit
e47a81fc84
1 changed files with 3 additions and 1 deletions
|
@ -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 /
|
||||
|
|
Loading…
Add table
Reference in a new issue