Browse Source

1.增加dockerFile

test
pref_mail@163.com 2 years ago
parent
commit
b2d310dc4b
  1. 3
      blade-service/logpm-basicdata/Dockerfile
  2. 6
      blade-service/logpm-old-project/Dockerfile

3
blade-service/logpm-basicdata/src/main/Dockerfile → blade-service/logpm-basicdata/Dockerfile

@ -2,7 +2,7 @@ FROM bladex/alpine-java:openjdk8-openj9_cn_slim
MAINTAINER h5u@163.com
RUN mkdir -p /logpm/basic
RUN mkdir -p /logpm/basicdata
WORKDIR /logpm/basicdata
@ -11,3 +11,4 @@ EXPOSE 8400
ADD ./target/logpm-basicdata.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["--spring.profiles.active=test"]

6
blade-service/logpm-old-project/Dockerfile

@ -2,13 +2,13 @@ FROM bladex/alpine-java:openjdk8-openj9_cn_slim
MAINTAINER h5u@163.com
RUN mkdir -p /logpm/factory
RUN mkdir -p /logpm/old-project
WORKDIR /logpm/factory
WORKDIR /logpm/old-project
EXPOSE 8500
ADD ./target/logpm-factory.jar ./app.jar
ADD ./target/logpm-old-project.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["--spring.profiles.active=test"]

Loading…
Cancel
Save