add ipv4 update script

This commit is contained in:
Matthew Tran
2023-09-11 09:38:22 +00:00
parent eb6f627962
commit 1192804767
5 changed files with 43 additions and 3 deletions
+6 -1
View File
@@ -1,8 +1,12 @@
FROM ubuntu:22.04
# install dependencies
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get upgrade
RUN apt-get install -y nginx certbot python3-certbot-nginx
RUN apt-get install -y nginx certbot python3-certbot-nginx python3-pip
RUN pip3 install sendgrid
RUN rm /etc/nginx/sites-enabled/default
@@ -13,4 +17,5 @@ COPY html /var/www/matthewtran.com/html
# start script
WORKDIR /root
COPY sendgrid.ke[y] ip_update.py ./
COPY entry.sh ./