From f2f734194c03dfff2024cf417c502515ddb7a855 Mon Sep 17 00:00:00 2001 From: jwansek Date: Sat, 21 May 2022 22:38:52 +0100 Subject: Added running as an API --- API/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 API/Dockerfile (limited to 'API/Dockerfile') diff --git a/API/Dockerfile b/API/Dockerfile new file mode 100644 index 0000000..5d482c7 --- /dev/null +++ b/API/Dockerfile @@ -0,0 +1,7 @@ +FROM smarker +MAINTAINER Eden Attenborough "gae19jtu@uea.ac.uk" +COPY . /API +WORKDIR /API +RUN pip3 install -r requirements.txt +ENTRYPOINT ["python3"] +CMD ["app.py", "--production"] \ No newline at end of file -- cgit v1.2.3