FROM nginx RUN apt-get update RUN apt-get install certbot --yes RUN apt-get install python3-certbot-nginx --yes RUN mkdir /etc/allinvest COPY ./nginx-prod.conf /etc/nginx/nginx.conf COPY ./privkey.pem /etc/nginx/privkey.pem COPY ./fullchain.pem /etc/nginx/fullchain.pem COPY ./allinvest/privkey.pem /etc/allinvest/privkey.pem COPY ./allinvest/fullchain.pem /etc/allinvest/fullchain.pem