FROM nginx RUN apt-get update RUN apt-get install certbot --yes RUN apt-get install python3-certbot-nginx --yes COPY ./config /etc/nginx COPY ./privkey.pem /etc/nginx/privkey.pem COPY ./fullchain.pem /etc/nginx/fullchain.pem