From 20c3b2d58ff526893f630232a603c168efef5eb3 Mon Sep 17 00:00:00 2001 From: dqn Date: Tue, 23 Jul 2024 00:08:23 +0800 Subject: [PATCH] READMD && dockerfile --- Dockerfile | 6 ++++++ READMD.md | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 Dockerfile create mode 100644 READMD.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1f5d1a3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM openjdk:17-jdk-alpine +WORKDIR / +COPY target/igps2xingzhe-0.0.1-SNAPSHOT.jar / +EXPOSE 18877 + +CMD ["java", "-jar", "igps2xingzhe-0.0.1-SNAPSHOT.jar"] diff --git a/READMD.md b/READMD.md new file mode 100644 index 0000000..f627fa7 --- /dev/null +++ b/READMD.md @@ -0,0 +1,18 @@ +GPSport2XingZhe +同步igpsport的fit文件到行者。 + +配置 + +cp application.properties.example application.properties + +依赖 jdk17 + +修改账号密码 + +部署 + +``` bash + +mvn clean package + +``` \ No newline at end of file