forked from WorldStarHipHopX/playforia
-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This has been broken ever since the upgrade to Java 11 and moving tracks to server resources. Now it works again and is tested in CI to ensure it won't break again.
- Loading branch information
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
# | ||
# Build stage | ||
# | ||
FROM maven:3.6.0-jdk-8-slim AS build | ||
FROM maven:3.9.7-eclipse-temurin-21 AS build | ||
COPY . /home/app/ | ||
RUN mvn -f /home/app/pom.xml -pl server -am clean package | ||
|
||
# | ||
# Package stage | ||
# | ||
FROM openjdk:8-alpine | ||
FROM eclipse-temurin:21-alpine | ||
COPY --from=build /home/app/server/target/server-*.jar /home/minigolf/server.jar | ||
COPY tracks/ /home/minigolf/tracks/ | ||
EXPOSE 4242 | ||
WORKDIR /home/minigolf | ||
ENTRYPOINT ["java","-jar","server.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters