aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xDockerfile2
-rw-r--r--onceaday/Dockerfile4
2 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 1c8d59f..a0b808a 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
FROM ubuntu:latest
MAINTAINER Eden Attenborough "eddie.atten.ea29@gmail.com"
RUN apt-get update -y
-RUN apt-get install -y python3-pip python-dev build-essential
+RUN apt-get install -y python3-pip python-dev build-essential libjpeg-dev zlib1g-dev
COPY . /app
WORKDIR /app
RUN pip3 install -r requirements.txt
diff --git a/onceaday/Dockerfile b/onceaday/Dockerfile
index b737d90..78c88f8 100644
--- a/onceaday/Dockerfile
+++ b/onceaday/Dockerfile
@@ -1,10 +1,10 @@
FROM debian:latest
MAINTAINER Eden Attenborough "eddie.atten.ea29@gmail.com"
RUN apt-get update -y
-RUN apt-get install -y tzdata python3-pip python-dev build-essential pkg-config cron
+RUN apt-get install -y tzdata python3-pip python-dev build-essential pkg-config cron libjpeg-dev zlib1g-dev
COPY . /app
WORKDIR /app
COPY onceaday/crontab /etc/cron.d/oad-crontab
RUN chmod 0644 /etc/cron.d/oad-crontab && crontab /etc/cron.d/oad-crontab
RUN pip3 install -r onceaday/requirements.txt
-ENTRYPOINT ["cron", "-f"] \ No newline at end of file
+ENTRYPOINT ["cron", "-f"]