diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-05-21 22:38:52 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-05-21 22:38:52 +0100 |
commit | f2f734194c03dfff2024cf417c502515ddb7a855 (patch) | |
tree | 745910a6206be1243187523bef355849dda0da77 /API/Dockerfile | |
parent | abc7f067ff20bc2bd07d9236c30055549481547c (diff) | |
download | Smarker-f2f734194c03dfff2024cf417c502515ddb7a855.tar.gz Smarker-f2f734194c03dfff2024cf417c502515ddb7a855.zip |
Added running as an API
Diffstat (limited to 'API/Dockerfile')
-rw-r--r-- | API/Dockerfile | 7 |
1 files changed, 7 insertions, 0 deletions
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 |