From d547f5e40bc016ed2f24d10cf5cbead5d9ef96da Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 6 Apr 2024 06:21:30 +0100 Subject: [PATCH] ci --- Dockerfile | 3 ++- src/main/resources/application.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e184f14..563ec25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ COPY . . RUN mvn clean package -EXPOSE 7500 +EXPOSE 80 +ENV PORT=80 CMD ["java", "-jar", "target/Minecraft-Helper-1.0-SNAPSHOT.jar"] \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ffe25c8..f4b0bd3 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,8 +1,8 @@ server: address: 0.0.0.0 - port: 7500 + port: 80 -public-url: http://localhost:7500 +public-url: http://localhost mojang: session-server: https://sessionserver.mojang.com