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