aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAdam Novak2020-04-09 15:52:23 -0700
committerAdam Novak2020-04-09 15:52:23 -0700
commit2cd6623aa0ddfe4e42b2d434e0523773bb3536ef (patch)
tree6c8a99afdf03837dba83e9d956f60316c09391d3 /Dockerfile
parentec6f3ad6268f576c1302101c7f0761fbf1d3dc55 (diff)
downloadbh20-seq-resource-2cd6623aa0ddfe4e42b2d434e0523773bb3536ef.tar.gz
bh20-seq-resource-2cd6623aa0ddfe4e42b2d434e0523773bb3536ef.tar.lz
bh20-seq-resource-2cd6623aa0ddfe4e42b2d434e0523773bb3536ef.zip
Copy over/combine top-level project components
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..43fa8f2
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,19 @@
+# Dockerfile for containerizing the web interface
+FROM python:3.6-jessie
+WORKDIR /app
+
+RUN pip3 install gunicorn
+
+ADD LICENSE /app/
+ADD gittaggers.py /app/
+ADD setup.py /app/
+ADD README.md /app/
+ADD example /app/example
+ADD bh20seqanalyzer /app/bh20simplewebuploader
+ADD bh20sequploader /app/bh20sequploader
+ADD bh20simplewebuploader /app/bh20simplewebuploader
+
+RUN pip3 install -e .
+
+ENV PORT 8080
+CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8080", "bh20simplewebuploader.main:app"]