Fixes Dockerfile

This commit is contained in:
Pedro Lamas 2020-08-21 11:03:53 +01:00
parent fcb6198a82
commit 05477c1a03
No known key found for this signature in database
GPG Key ID: FECF85D164E8482B
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ ENV LE_CONFIG_HOME /acme.sh
ARG AUTO_UPGRADE=1
ENV AUTO_UPGRADE $AUTO_UPGRADE
#Install
ADD ./ /install_acme.sh/
RUN cd /install_acme.sh && ([ -f /install_acme.sh/acme.sh ] && /install_acme.sh/acme.sh --install || curl https://get.acme.sh | sh) && rm -rf /install_acme.sh/