dataease-dm/Dockerfile

20 lines
778 B
Docker
Raw Normal View History

2023-10-23 21:58:50 +08:00
FROM registry.cn-qingdao.aliyuncs.com/dataease/alpine-openjdk17-jre
2021-12-16 18:49:22 +08:00
2021-12-09 17:58:41 +08:00
ARG IMAGE_TAG
2021-11-24 11:01:55 +08:00
RUN mkdir -p /opt/apps/config /opt/dataease2.0/drivers/ /opt/dataease2.0/cache/ /opt/dataease2.0/data/map /opt/dataease2.0/data/static-resource/ /opt/dataease2.0/data/appearance/
2021-08-26 10:49:41 +08:00
2023-11-01 10:13:41 +08:00
ADD drivers/* /opt/dataease2.0/drivers/
2023-10-23 21:58:50 +08:00
ADD mapFiles/ /opt/dataease2.0/data/map/
ADD staticResource/ /opt/dataease2.0/data/static-resource/
2021-08-26 10:49:41 +08:00
2023-10-23 21:58:50 +08:00
WORKDIR /opt/apps
2023-10-23 21:58:50 +08:00
ADD core/core-backend/target/CoreApplication.jar /opt/apps/app.jar
2023-08-28 17:03:25 +08:00
2023-10-23 21:58:50 +08:00
ENV JAVA_APP_JAR=/opt/apps/app.jar
2024-04-09 16:20:27 +08:00
ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Dloader.path=/opt/apps -Dspring.config.additional-location=/opt/apps/config/"
2021-03-11 16:00:10 +08:00
2024-04-03 17:12:07 +08:00
HEALTHCHECK --interval=15s --timeout=5s --retries=20 --start-period=30s CMD nc -zv 127.0.0.1 8100
2021-03-11 16:00:10 +08:00
2024-04-09 16:20:27 +08:00
CMD ["/deployments/run-java.sh"]