pref_mail@163.com
7 months ago
1 changed files with 16 additions and 0 deletions
@ -0,0 +1,16 @@ |
|||||||
|
FROM 192.168.2.110:7777/hwy/hwy_base:v1.0 |
||||||
|
|
||||||
|
MAINTAINER h5u@163.com |
||||||
|
|
||||||
|
RUN mkdir -p /logpm/business |
||||||
|
|
||||||
|
WORKDIR /logpm/business |
||||||
|
|
||||||
|
EXPOSE 8600 |
||||||
|
|
||||||
|
ADD ./target/logpm-business.jar ./app.jar |
||||||
|
|
||||||
|
ENV JAVA_OPTS="-Xms512m -Xmx1024m" |
||||||
|
|
||||||
|
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "-Xms128m","-Xmx512m","app.jar"] |
||||||
|
CMD ["--spring.profiles.active=test"] |
Loading…
Reference in new issue