force apt update before certbot install
This commit is contained in:
parent
c85340eb39
commit
7f55db4bf5
|
@ -86,7 +86,7 @@ COPY hosting/single/ssh/sshd_config /etc/
|
|||
COPY hosting/single/ssh/ssh_setup.sh /tmp
|
||||
|
||||
# setup letsencrypt certificate
|
||||
RUN apt-get install -y certbot python3-certbot-nginx
|
||||
RUN apt-get update && apt-get install -y certbot python3-certbot-nginx
|
||||
COPY hosting/letsencrypt /app/letsencrypt
|
||||
RUN chmod +x /app/letsencrypt/certificate-request.sh /app/letsencrypt/certificate-renew.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue