-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
37 lines (31 loc) · 1.03 KB
/
Dockerfile
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
FROM ubuntu:20.04
WORKDIR /data/www
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get upgrade -y \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
emboss \
git \
make \
nodejs \
npm \
python3-pip \
ruby \
ruby-dev \
tzdata \
&& gem install bundler \
&& git clone https://github.com/yeastgenome/SGDFrontendDocker.git
WORKDIR /data/www/logs
WORKDIR /data/www/tmp
WORKDIR /data/www/SGDFrontendDocker
RUN git checkout master_docker \
&& npm install -g bower \
&& bower install --force \
&& pip3 install virtualenv \
&& virtualenv /data/www/SGDFrontendDocker/venv \
&& . /data/www/SGDFrontendDocker/venv/bin/activate \
&& pip3 install -U setuptools==57.5.0 \
&& make build
WORKDIR /data/www/SGDFrontendDocker/src/sgd/tools/seqtools/emboss
RUN /usr/bin/rebaseextract -infile withrefm.809 -protofile proto.809
WORKDIR /
CMD ["sh", "-c", ". /data/www/SGDFrontendDocker/venv/bin/activate && pserve $INI_FILE --reload"]