kn-vordm/kn-service/vordm-twitter/Dockerfile

16 lines
308 B
Docker
Raw Normal View History

2023-04-24 19:28:36 +08:00
FROM bladex/alpine-java:openjdk8-openj9_cn_slim
LABEL maintainer=whq<460794335@qq.com>
RUN mkdir -p /kn/vordm
WORKDIR /kn/vordm
2023-04-24 19:55:20 +08:00
EXPOSE 8980
2023-04-24 19:28:36 +08:00
2023-04-24 19:59:47 +08:00
ADD ./target/vordm-twitter.jar ./app.jar
2023-04-24 19:28:36 +08:00
ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
CMD ["--spring.profiles.active=test"]