aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-08-27 20:40:20 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2022-08-27 20:40:20 +0100
commitf5cc222114d69b5beba26bd8e0837521867c70ea (patch)
tree6ac3f997d48bcb2ea0e170461bea6bac0d8546b1 /Dockerfile
parent37bbe88fc60523593835781edc89a3395c4e0a42 (diff)
downloadGithubIssuesPrinter-master.tar.gz
GithubIssuesPrinter-master.zip
Initial main commit, added most of the code before testingHEADmaster
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..6db0144
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,13 @@
+FROM ubuntu:latest
+MAINTAINER Eden Attenborough "eda@e.email"
+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 python3-dev build-essential wkhtmltopdf cron
+RUN mkdir githubPrinter
+COPY . /githubPrinter
+WORKDIR /githubPrinter
+RUN pip3 install -r requirements.txt
+
+RUN echo "*/15 * * * * root python3 /githubPrinter/printIssues.py > /proc/1/fd/1 2>/proc/1/fd/2" > /etc/crontab
+ENTRYPOINT ["cron", "-f"] \ No newline at end of file