pref_mail@163.com
2 years ago
2 changed files with 5 additions and 6 deletions
@ -1,15 +1,14 @@ |
|||||||
FROM bladex/alpine-java:openjdk8-openj9_cn_slim |
FROM bladex/alpine-java:openjdk8-openj9_cn_slim |
||||||
|
|
||||||
MAINTAINER bladejava@qq.com |
MAINTAINER h5u@163.com |
||||||
|
|
||||||
RUN mkdir -p /blade/auth |
RUN mkdir -p /logpm/factory |
||||||
|
|
||||||
WORKDIR /blade/auth |
WORKDIR /logpm/factory |
||||||
|
|
||||||
EXPOSE 8100 |
EXPOSE 8200 |
||||||
|
|
||||||
ADD ./target/logpm-basic.jar ./app.jar |
ADD ./target/logpm-basic.jar ./app.jar |
||||||
|
|
||||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] |
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] |
||||||
|
|
||||||
CMD ["--spring.profiles.active=test"] |
CMD ["--spring.profiles.active=test"] |
||||||
|
Loading…
Reference in new issue