mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2026-06-28 01:58:34 +00:00
add ipv4 update script
This commit is contained in:
+6
-1
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user