支持docker

pull/3/head
tanghc 4 years ago
parent e661f45bd1
commit c4194817d5
  1. 4
      sop-gateway/src/main/docker/dockerfile

@ -3,4 +3,6 @@ VOLUME /tmp
VOLUME /log VOLUME /log
ADD sop-gateway-4.0.3-SNAPSHOT.jar sop-gateway-4.0.3.jar ADD sop-gateway-4.0.3-SNAPSHOT.jar sop-gateway-4.0.3.jar
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom --logging.file=log/sop-gateway/log.log","-jar","/sop-gateway-4.0.3.jar"] ENV JAVA_OPTS="-Xms128m -Xmx128m --logging.file=log/sop-gateway/log.log --mysql.host=10.1.30.120:3306"
ENTRYPOINT ["java","$JAVA_OPTS -Djava.security.egd=file:/dev/./urandom","-jar","/sop-gateway-4.0.3.jar"]
Loading…
Cancel
Save