-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
60 lines (32 loc) · 935 Bytes
/
dockerfile
File metadata and controls
60 lines (32 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
FROM tiangolo/uwsgi-nginx-flask:flask
COPY requirements.txt /tmp/
COPY . /tmp/PanelPal/
COPY resources/panel_pal.db /resources/
RUN pip install -U pip
RUN pip install -r /tmp/requirements.txt
COPY ./app /app
WORKDIR /tmp
RUN git clone https://github.com/sch-sdgs/SDGSCommonLibs.git
WORKDIR /tmp/SDGSCommonLibs
RUN git fetch
RUN git checkout sci_check
RUN pip install -r requirements.txt
RUN python setup.py install
WORKDIR /tmp
RUN git clone https://github.com/sch-sdgs/SDGSDataModels.git
WORKDIR /tmp/SDGSDataModels
RUN git checkout master
RUN pip install -r requirements.txt
RUN python build.py
RUN python setup.py install
WORKDIR /tmp/PanelPal
RUN python setup.py install
WORKDIR /app
ADD resources/bedtools-2.25.0.tar.gz /tmp/
WORKDIR /tmp/bedtools2
RUN make
ENV PATH $PATH:/tmp/bedtools2/bin
WORKDIR /app
RUN touch /tmp/PanelPal.log
RUN chmod 777 /tmp/PanelPal.log
ENV MESSAGE "PanelPal is running..."