支持docker

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

@ -1,4 +1,6 @@
FROM java:8 FROM java:8
VOLUME /tmp VOLUME /tmp
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","-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"]
Loading…
Cancel
Save