dataease-dm/Dockerfile

20 lines
829 B
Docker
Raw Normal View History

2024-05-27 09:46:36 +08:00
FROM registry.cn-qingdao.aliyuncs.com/dataease/alpine-openjdk21-jre
2021-12-16 18:49:22 +08:00
2024-05-24 17:25:52 +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/ /opt/dataease2.0/data/exportData/
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-05-27 09:46:36 +08:00
ENV RUNNING_PORT=8100
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-05-27 09:46:36 +08:00
HEALTHCHECK --interval=15s --timeout=5s --retries=20 --start-period=30s CMD nc -zv 127.0.0.1 $RUNNING_PORT
2021-03-11 16:00:10 +08:00
2024-04-09 16:27:27 +08:00
CMD ["/deployments/run-java.sh"]