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