Dockerfile 308 B

123456789101112131415
  1. FROM bladex/alpine-java:openjdk8-openj9_cn_slim
  2. MAINTAINER bladejava@qq.com
  3. RUN mkdir -p /blade/swagger
  4. WORKDIR /blade/swagger
  5. EXPOSE 18000
  6. ADD ./target/blade-swagger.jar ./app.jar
  7. ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
  8. CMD ["--spring.profiles.active=test"]