Dockerfile

This commit is contained in:
王洪庆 2023-04-19 19:05:19 +08:00
parent 9abf5b429e
commit 57f56c4d92
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,15 @@
FROM bladex/alpine-java:openjdk8-openj9_cn_slim
LABEL maintainer=whq<460794335@qq.com>
RUN mkdir -p /kn/vordm
WORKDIR /kn/vordm
EXPOSE 8282
ADD ./target/kn-system.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["--spring.profiles.active=test"]

View File

@ -0,0 +1,15 @@
FROM bladex/alpine-java:openjdk8-openj9_cn_slim
LABEL maintainer=whq<460794335@qq.com>
RUN mkdir -p /kn/vordm
WORKDIR /kn/vordm
EXPOSE 8989
ADD ./target/kn-system.jar ./app.jar
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["--spring.profiles.active=test"]