Merge pull request #310 from JiYou/support.docker

Add support for Docker.
v1.9.2
许雪里 6 years ago committed by GitHub
commit 39a8ecd7e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,9 @@
FROM tomcat
MAINTAINER youji@ebay.com
ADD xxl-job-admin/target/xxl-job-admin.*.war /usr/local/tomcat/webapps/scheduler.war
ADD xxl-job-core/target/xxl-job-core.*.jar /usr/local/tomcat/webapps/
ADD xxl-job-executor-samples/xxl-job-executor-sample-springboot/target/xxl-job-executor-sample*..jar /usr/local/tomcat/webapps/
ADD xxl-job-executor-samples/xxl-job-executor-sample-spring/target/xxl-job-executor-sample-spring.*.war /usr/local/tomcat/webapps/executor.war
CMD ["catalina.sh", "run"]
Loading…
Cancel
Save