From 953dc5ef8652a0b7e8ae2c7db3535f1bd157cdd4 Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 16 May 2023 14:11:51 +0100 Subject: Added alt text, docker --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..70a11f6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM ubuntu:20.04 +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 +COPY . /app +RUN touch .docker +WORKDIR /app +RUN pip3 install -r requirements.txt +ENTRYPOINT ["python3"] +CMD ["src/app.py", "--production"] \ No newline at end of file -- cgit v1.2.3