diff options
| author | jwansek <eddie.atten.ea29@gmail.com> | 2025-10-01 16:07:59 +0100 |
|---|---|---|
| committer | jwansek <eddie.atten.ea29@gmail.com> | 2025-10-01 16:07:59 +0100 |
| commit | 7cd309730e42983178d8f9632d25497dc7e20c22 (patch) | |
| tree | 414fd0b82fd92e142523f5e80b7e2990162bb87a | |
| parent | c01ae2c33ccf8d40b3957d918cc7c58eb60d3eaf (diff) | |
| download | SmallYTChannelBot-7cd309730e42983178d8f9632d25497dc7e20c22.tar.gz SmallYTChannelBot-7cd309730e42983178d8f9632d25497dc7e20c22.zip | |
Removed some modules to save image size
| -rwxr-xr-x | Dockerfile | 5 | ||||
| -rwxr-xr-x | cron/Dockerfile | 2 | ||||
| -rwxr-xr-x | cron/requirements.txt | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -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 |
