Skip to content

Commit

Permalink
issue-188: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lagrimas committed Mar 3, 2023
1 parent f296fba commit b673bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ RUN groupadd -r ontostring && useradd -r --create-home -g ontostring ontostring
RUN if [ ! -d /var/log/ontotools/ ];then mkdir /var/log/ontotools/;fi
RUN chown -R ontostring:ontostring /var/log/ontotools

USER ontostring

COPY . /home/ontostring/
RUN cd /home/ontostring/ && mvn clean package spring-boot:repackage -DskipTests=true

USER ontostring

# Launch application server
ENTRYPOINT exec $JAVA_HOME/bin/java $XMX $XMS -jar -Dspring.profiles.active=$ENVIRONMENT -Dhttp.proxyHost=hh-wwwcache.ebi.ac.uk -Dhttp.proxyPort=3128 -Dhttps.proxyHost=hh-wwwcache.ebi.ac.uk -Dhttps.proxyPort=3128 -Dhttp.proxySet=true -Dhttps.proxySet=true /home/ontostring/target/ontostring-*.war

0 comments on commit b673bc7

Please sign in to comment.