From 1330ff9c1a8891913b5ef58cdfe64f8fd3751c75 Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 26 Apr 2022 18:08:15 +0100 Subject: Changed args ready for docker, started on Dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b688e0c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM ubuntu:latest +MAINTAINER Eden Attenborough "gae19jtu@uea.ac.uk" +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 texlive-base wkhtmltopdf +COPY ./Smarker /Smarker +WORKDIR /Smarker +RUN pip3 install -r requirements.txt +ENTRYPOINT ["python3"] +CMD ["smarker.py"] \ No newline at end of file -- cgit v1.2.3