Dockerfile 307 B

123456789101112131415
  1. FROM anapsix/alpine-java:8_server-jre_unlimited
  2. MAINTAINER smallchill@163.com
  3. RUN mkdir -p /blade/gateway
  4. WORKDIR /blade/gateway
  5. EXPOSE 80
  6. ADD ./target/blade-gateway.jar ./app.jar
  7. ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
  8. CMD ["--spring.profiles.active=test"]