forked from Robbie1977/Docker-OLS-loader
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (20 loc) · 700 Bytes
/
Copy pathDockerfile
File metadata and controls
29 lines (20 loc) · 700 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
FROM maven:3-jdk-8
ENV VFB_OWL_VERSION=Current
ENV WORKSPACE=/opt/VFB
ENV JAVA_OPTS='-Xmx20g -Xms10g'
ENV PDBuser='neo4j'
ENV PDBpassword='neo4j'
ENV FILESERVER='tftp://vfbds0.inf.ed.ac.uk'
ENV PDBSERVER='http://localhost:7474'
VOLUME /data
RUN echo Building OLS && \
mkdir -p ${WORKSPACE} && \
cd ${WORKSPACE} && \
git clone https://github.com/VirtualFlyBrain/OLS_configs.git && \
git clone https://github.com/Robbie1977/OLS.git && \
cp ${WORKSPACE}/OLS_configs/*.properties ${WORKSPACE}/OLS/ols-apps/ols-neo4j-app/src/main/resources/ && \
cd ${WORKSPACE}/OLS && \
mvn clean package
COPY loadOLS.sh /opt/VFB/loadOLS.sh
RUN chmod +x /opt/VFB/loadOLS.sh
ENTRYPOINT ["/opt/VFB/loadOLS.sh"]