DockerfileTest 256 B

1234567
  1. #FROM openjdk:8-jdk-alpine
  2. FROM java:8
  3. ENV LANG en_US.utf8
  4. ADD target/blade-api.jar /app.jar
  5. EXPOSE 8800
  6. # 运行jar包
  7. ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dspring.profiles.active=test","-Dfile.encoding=UTF-8","-jar","/app.jar"]