aboutsummaryrefslogtreecommitdiffstats
path: root/cron
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-06-17 15:36:23 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-06-17 15:36:23 +0100
commitb0565ec294c88b6b3ede8c5f7def488eb6e5f75a (patch)
treefd0fbfc92a5885a95ade0efe40f6b5fd8608527c /cron
parent4bcba9bfeff003e081833b4d6290290271aae967 (diff)
downloadSmallYTChannelBot-b0565ec294c88b6b3ede8c5f7def488eb6e5f75a.tar.gz
SmallYTChannelBot-b0565ec294c88b6b3ede8c5f7def488eb6e5f75a.zip
Fixed some Dockerfile bugs
Diffstat (limited to 'cron')
-rwxr-xr-xcron/Dockerfile4
-rwxr-xr-xcron/requirements.txt3
2 files changed, 4 insertions, 3 deletions
diff --git a/cron/Dockerfile b/cron/Dockerfile
index 21aa4e4..821b48a 100755
--- a/cron/Dockerfile
+++ b/cron/Dockerfile
@@ -1,7 +1,7 @@
FROM reg.reaweb.uk/smallytchannelbot
MAINTAINER Eden Attenborough "eddie.atten.ea29@gmail.com"
ARG DEBIAN_FRONTEND=noninteractive
-RUN apt-get install -y tzdata cron mysql-client
+RUN apt-get install -y tzdata cron mariadb-client
COPY . /app
WORKDIR /app
RUN pip3 install -r cron/requirements.txt
@@ -9,4 +9,4 @@ RUN pip3 install -r cron/requirements.txt
RUN echo "@daily root python3 /app/cron/daily.py > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab
RUN echo "@hourly root python3 /app/cron/hourly.py > /proc/1/fd/1 2>/proc/1/fd/2" >> /etc/crontab
ENTRYPOINT ["bash"]
-CMD ["entrypoint.sh"]
+CMD ["/app/cron/entrypoint.sh"]
diff --git a/cron/requirements.txt b/cron/requirements.txt
index 465e808..86f552b 100755
--- a/cron/requirements.txt
+++ b/cron/requirements.txt
@@ -1,2 +1,3 @@
-matplotlib==3.3.4
+numpy==1.26.4
+matplotlib
discord-webhook