initial commit

This commit is contained in:
2024-11-25 12:53:31 -06:00
commit fb4c0af5fd
5 changed files with 308 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM debian:bullseye-slim
RUN apt update && apt install cron apache2 python3 python3-pip -y
COPY crontab /etc/cron.d/crontab
COPY refresh.php /var/www/html/
COPY libnotices.py /usr/local/bin/
COPY requirements.txt /
RUN pip3 install -r /requirements.txt
RUN chmod +x /usr/local/bin/libnotices.py
#COPY img/* /var/www/html/img/