back deployed to server

This commit is contained in:
zyzf 2023-12-28 15:04:42 +04:00
parent e086b3a04b
commit a1b57f90fd
2 changed files with 5 additions and 1 deletions

View File

@ -119,7 +119,7 @@ interface MyServerService {
) )
companion object { companion object {
private const val BASE_URL = "http://192.168.1.230:8080/api/" private const val BASE_URL = "https://api.zyzf.space/api/"
@Volatile @Volatile
private var INSTANCE: MyServerService? = null private var INSTANCE: MyServerService? = null

4
backend/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM eclipse-temurin:17-jdk-alpine
VOLUME /tmp
COPY build/libs/yan-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java","-jar","/app.jar"]