Compare commits

..

No commits in common. "8bdaf5c1b977a9bd5a87d9f4d018181463084d8c" and "0dc6a1d8c7488114943ad6bf2f16eb6634c8f68f" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ FROM debian:bullseye-slim
#
RUN apt update && apt install cron apache2 python3 python3-pip php libapache2-mod-php -y
RUN a2enmod php*
COPY crontab /crontab
COPY crontab /etc/cron.d/crontab
COPY refresh.php /var/www/html/
COPY libnotices.py /usr/local/bin/
COPY requirements.txt /
@ -12,7 +12,6 @@ RUN pip3 install -r /requirements.txt
RUN mkdir /var/www/.aws
RUN chmod +x /usr/local/bin/libnotices.py
RUN chown www-data:www-data /var/www -R
RUN crontab -u www-data /crontab
RUN apt clean
EXPOSE 80
CMD ["/init.sh"]

View File

@ -1 +1 @@
15 1 * * * python3 /usr/local/bin/libnotices.py
45 4 * * * www-data python3 /usr/local/bin/libnotices.py