READMD && dockerfile

This commit is contained in:
dengqn 2024-07-23 00:08:23 +08:00
parent 798e01b43f
commit 20c3b2d58f
2 changed files with 24 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -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"]

18
READMD.md Normal file
View File

@ -0,0 +1,18 @@
GPSport2XingZhe
同步igpsport的fit文件到行者。
配置
cp application.properties.example application.properties
依赖 jdk17
修改账号密码
部署
``` bash
mvn clean package
```