pref_mail@163.com
2 years ago
2 changed files with 31 additions and 4 deletions
@ -0,0 +1,14 @@
|
||||
FROM bladex/alpine-java:openjdk8-openj9_cn_slim |
||||
|
||||
MAINTAINER h5u@163.com |
||||
|
||||
RUN mkdir -p /logpm/distribution |
||||
|
||||
WORKDIR /logpm/distribution |
||||
|
||||
EXPOSE 8500 |
||||
|
||||
ADD ./target/logpm-distribution.jar ./app.jar |
||||
|
||||
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"] |
||||
CMD ["--spring.profiles.active=test"] |
Loading…
Reference in new issue