Browse Source

Merge branch 'dev' into pre-production

master
zhenghaoyu 10 months ago
parent
commit
1cdc4b6166
  1. 14
      blade-service/logpm-factory-data/logpm-factory-data-base/Dockerfile
  2. 14
      blade-service/logpm-factory-data/logpm-factory-data-zbom/Dockerfile

14
blade-service/logpm-factory-data/logpm-factory-data-base/Dockerfile

@ -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"]

14
blade-service/logpm-factory-data/logpm-factory-data-zbom/Dockerfile

@ -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…
Cancel
Save