This commit is contained in:
Egor Matveev
2025-06-02 01:10:38 +03:00
parent d5cc340e32
commit 2970f41b5e
4 changed files with 39 additions and 165 deletions

View File

@@ -2,6 +2,7 @@ FROM nginx
RUN apt-get update
RUN apt-get install certbot --yes
RUN apt-get install python3-certbot-nginx --yes
RUN pip3 install requests
COPY ./config /etc/nginx
COPY ./privkey.pem /etc/nginx/privkey.pem
COPY ./fullchain.pem /etc/nginx/fullchain.pem
COPY run.py run.py
CMD ["python3", "run.py"]