-
Notifications
You must be signed in to change notification settings - Fork 20
/
Dockerfile-batch-dev
58 lines (49 loc) · 1.93 KB
/
Dockerfile-batch-dev
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 ghcr.io/virtualcell/vcell-solvers:v0.8.1.3
RUN apt-get -y update && \
apt-get install -y curl && \
apt-get install -y wget gdebi-core apt-utils libfreetype6 fontconfig fonts-dejavu && \
pip3 install thrift
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
RUN unlink /etc/localtime || true
RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime
RUN mkdir -p /usr/local/app/localsolvers && ln -s /vcellbin /usr/local/app/localsolvers/linux64
WORKDIR /usr/local/app
COPY ./vcell-server/target/vcell-server-0.0.1-SNAPSHOT.jar \
./vcell-server/target/maven-jars/*.jar \
./lib/
COPY ./nativelibs/linux64 ./nativelibs/linux64
COPY ./localsolvers/linux64/langevin_x64 /vcellbin/
COPY ./docker/build/batch/JavaPreprocessor64 \
./docker/build/batch/JavaPostprocessor64 \
./docker/build/batch/JavaSimExe64 \
./docker/build/batch/entrypoint.sh \
./pythonVtk \
/vcellscripts/
ENV PATH=/vcellscripts:$PATH \
CLASSPATH=/usr/local/app/lib/*
ENV softwareVersion=SOFTWARE-VERSION-NOT-SET \
serverid=SITE \
installdir=/usr/local/app \
jmshost_sim_internal="jms-host-not-set" \
jmsport_sim_internal="jms-port-not-set" \
jmsrestport_sim_internal="jms-restport-not-set" \
jmsuser="jms-user-not-set" \
jmspswd="jms-pswd-not-set" \
blob_message_use_mongo=true \
primary_datadir_internal=/simdata \
primary_datadir_external=/path/to/external/simdata \
secondary_datadir_internal=/simdata_secondary \
secondary_datadir_external=/path/to/external/simdata \
htclogdir_internal=/htclogs \
htclogdir_external=/path/to/external/htclogs \
mongodbhost_internal="mongo-host-not-set" \
mongodbport_internal="mongo-port-not-set" \
mongodb_database=test \
TMPDIR=/solvertmp/ \
java_mem_Xmx=200M \
jmsblob_minsize=100000
VOLUME /simdata
VOLUME /simdata_secondary
VOLUME /htclogs
VOLUME /solvertmp
ENTRYPOINT [ "/vcellscripts/entrypoint.sh" ]