kn-vordm/kn-sys-manager/Dockerfile

16 lines
307 B
Docker

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