aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorPjotr Prins2020-04-10 07:26:33 -0500
committerGitHub2020-04-10 07:26:33 -0500
commitff3007e42b5a8a866de9f6c3e2864854cd8c822f (patch)
tree083edb594b5c50c50203e90890fa7555a542ee91 /Dockerfile
parent643d7592df631fb91d1652134f437c000c1acc06 (diff)
parentd53e1e98b800d7dc5720de0b3c14c94452159315 (diff)
downloadbh20-seq-resource-ff3007e42b5a8a866de9f6c3e2864854cd8c822f.tar.gz
bh20-seq-resource-ff3007e42b5a8a866de9f6c3e2864854cd8c822f.tar.lz
bh20-seq-resource-ff3007e42b5a8a866de9f6c3e2864854cd8c822f.zip
Merge pull request #4 from adamnovak/add-web-ui
Add Web UI
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"]