2024-04-08 05:01:40 +01:00
|
|
|
FROM eclipse-temurin:17.0.10_7-jdk-focal
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y maven
|
2024-04-06 05:55:48 +01:00
|
|
|
|
2024-04-06 06:07:01 +01:00
|
|
|
COPY . .
|
|
|
|
|
2024-04-08 04:59:51 +01:00
|
|
|
RUN mvn package -q
|
2024-04-06 05:55:48 +01:00
|
|
|
|
2024-04-06 06:21:30 +01:00
|
|
|
EXPOSE 80
|
|
|
|
ENV PORT=80
|
2024-04-06 06:06:19 +01:00
|
|
|
|
2024-04-06 05:55:48 +01:00
|
|
|
CMD ["java", "-jar", "target/Minecraft-Helper-1.0-SNAPSHOT.jar"]
|