田源
2023-12-21 d9d4963658d7f39e9bd7fc256012abb453be2ae0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM bladex/alpine-java:openjdk8-openj9_cn_slim
 
MAINTAINER bladejava@qq.com
 
RUN mkdir -p /ubcs/gateway
 
WORKDIR /ubcs/gateway
 
EXPOSE 37000
 
ADD ./target/ubcs-gateway.jar ./app.jar
 
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
 
CMD ["--spring.profiles.active=prod"]