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