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