Permalink
Browse files
set JAVA_OPTS at start time
- Loading branch information...
Showing
with
2 additions
and
2 deletions.
-
+1
−1
Dockerfile
-
+1
−1
README.md
|
|
@@ -42,6 +42,6 @@ RUN if [ $species = "all" ]; \ |
|
fi
|
|
fi
|
|
RUN cd /data && python configuration-generator.py
|
|
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
|
|
EXPOSE 8080
|
|
|
@@ -69,7 +69,7 @@ Run those commands from the root directory (with Docker >= 1.9): |
|
```
|
|
```
|
|
mvn package
|
|
mvn package
|
|
docker build -t owlsim-all . # by default contains all the species
|
|
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:
|
|
To restrict to specific species:
|
|
|
|
0 comments on commit
8514791