Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Dockerfile 470 Bytes
Copy Edit Web IDE Raw Blame History
lizw authored 2019-12-03 14:01 . 环境迁移
FROM 172.18.1.1:15000/library/openjdk:8u232-jre as dev
ADD clever-nashorn-server/target/clever-nashorn-server-*-SNAPSHOT.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar", "--server.port=9066", "--server.address=0.0.0.0"]
EXPOSE 9066
FROM 172.18.1.1:15000/library/openjdk:8u232-jre as prod
ADD clever-nashorn-server/target/clever-nashorn-server-*-SNAPSHOT.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar", "--server.port=9066", "--server.address=0.0.0.0"]
EXPOSE 9066

Comment ( 0 )

Sign in for post a comment