Browse Source

1.修改basic的dockerfile

newStockUp
pref_mail@163.com 2 years ago
parent
commit
4865de83e8
  1. 9
      blade-service/logpm-basic/Dockerfile

9
blade-service/logpm-basic/Dockerfile

@ -1,14 +1,15 @@
FROM bladex/alpine-java:openjdk8-openj9_cn_slim
MAINTAINER h5u@163.com
MAINTAINER bladejava@qq.com
RUN mkdir -p /logpm/xxx
RUN mkdir -p /blade/auth
WORKDIR /logpm/xxx
WORKDIR /blade/auth
EXPOSE 8300
EXPOSE 8100
ADD ./target/logpm-basic.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["--spring.profiles.active=test"]

Loading…
Cancel
Save