aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 1901ac7273566ef8f94791859c23cb7395d8e33d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 .[web]

ENV PORT 8080
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8080", "bh20simplewebuploader.main:app"]