install certbot from pip

This commit is contained in:
jonasled 2021-04-16 09:42:02 +02:00 committed by GitHub
parent 1a64d44857
commit d2d8aba464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,8 +18,9 @@ ENV NODE_ENV=production
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
&& apk update \
&& apk add python3 certbot jq \
&& apk add python3 python3-dev py3-pip build-base libressl-dev musl-dev libffi-dev jq cargo \
&& python3 -m ensurepip \
&& pip3 install certbot certbot-nginx \
&& rm -rf /var/cache/apk/*
ENV NPM_BUILD_VERSION="${BUILD_VERSION}" NPM_BUILD_COMMIT="${BUILD_COMMIT}" NPM_BUILD_DATE="${BUILD_DATE}"