Dockerfile 243 B

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