FROM java:8ADD docker_compose-0.0.1-SNAPSHOT.jar docker_compose.jar
RUN bash -c 'touch /docker_compose.jar'EXPOSE19999ENTRYPOINT["java","-Djava.security.egd=file:/dev/./urandom","-jar","/docker_compose.jar"]
3、退出到webapp,创建docker-compose.yml: vim docker-compose.yml