FROM nginx RUN apt-get update RUN apt-get install certbot --yes RUN apt-get install python3-certbot-nginx python3-pip --yes RUN pip3 install --break-system-packages requests minio COPY ./config /etc/nginx COPY prepare.py prepare.py COPY run.sh run.sh ENV PYTHONUNBUFFERED=1 RUN chmod 777 run.sh ENTRYPOINT ["./run.sh"]