aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-10-01 16:07:59 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-10-01 16:07:59 +0100
commit7cd309730e42983178d8f9632d25497dc7e20c22 (patch)
tree414fd0b82fd92e142523f5e80b7e2990162bb87a /Dockerfile
parentc01ae2c33ccf8d40b3957d918cc7c58eb60d3eaf (diff)
downloadSmallYTChannelBot-7cd309730e42983178d8f9632d25497dc7e20c22.tar.gz
SmallYTChannelBot-7cd309730e42983178d8f9632d25497dc7e20c22.zip
Removed some modules to save image size
Diffstat (limited to 'Dockerfile')
-rwxr-xr-xDockerfile5
1 files changed, 3 insertions, 2 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