Permalink
Browse files

set JAVA_OPTS at start time

  • Loading branch information...
jnguyenx committed Apr 18, 2017
1 parent ca0de00 commit 85147918610232799374859686c4bfc9ac72814d
Showing with 2 additions and 2 deletions.
  1. +1 −1 Dockerfile
  2. +1 −1 README.md
View
@@ -42,6 +42,6 @@ RUN if [ $species = "all" ]; \
fi
RUN cd /data && python configuration-generator.py
CMD java -Xmx10g -jar /data/owlsim-services-3.0-SNAPSHOT.jar server /data/configuration.yaml
CMD java -jar /data/owlsim-services-3.0-SNAPSHOT.jar server /data/configuration.yaml
EXPOSE 8080
View
@@ -69,7 +69,7 @@ Run those commands from the root directory (with Docker >= 1.9):
```
mvn package
docker build -t owlsim-all . # by default contains all the species
docker run -p 8080:8080 owlsim-all
docker run -e JAVA_OPTS='-Xmx10g' -p 8080:8080 owlsim-all
```
To restrict to specific species:

0 comments on commit 8514791

Please sign in to comment.