From 7cd309730e42983178d8f9632d25497dc7e20c22 Mon Sep 17 00:00:00 2001 From: jwansek Date: Wed, 1 Oct 2025 16:07:59 +0100 Subject: Removed some modules to save image size --- Dockerfile | 5 +++-- cron/Dockerfile | 2 ++ cron/requirements.txt | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b010be..423b259 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ FROM ubuntu:22.04 -MAINTAINER Eden Attenborough "eddie.atten.ea29@gmail.com" ARG DEBIAN_FRONTEND=noninteractive +ENV TZ=Europe/London +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update -y -RUN apt-get install -y python3-pip build-essential libjpeg-dev zlib1g-dev +RUN apt-get install -y python3-pip build-essential tzdata COPY . /app WORKDIR /app RUN pip3 install -r requirements.txt diff --git a/cron/Dockerfile b/cron/Dockerfile index 821b48a..0239a65 100755 --- a/cron/Dockerfile +++ b/cron/Dockerfile @@ -1,6 +1,8 @@ FROM reg.reaweb.uk/smallytchannelbot MAINTAINER Eden Attenborough "eddie.atten.ea29@gmail.com" ARG DEBIAN_FRONTEND=noninteractive +ENV TZ=Europe/London +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get install -y tzdata cron mariadb-client COPY . /app WORKDIR /app diff --git a/cron/requirements.txt b/cron/requirements.txt index 86f552b..f2c4fc9 100755 --- a/cron/requirements.txt +++ b/cron/requirements.txt @@ -1,3 +1,3 @@ numpy==1.26.4 -matplotlib +# matplotlib discord-webhook -- cgit v1.2.3