From f4a9d7c31ce6f301bf8666933e2250dbb6db91d3 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 20 Apr 2024 20:26:31 +0100 Subject: [PATCH] pls fix it --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index aeb0ea1..9ac951e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM maven:3.8.5-openjdk-17-slim -RUN apt install fontconfig-config -y - # Set the working directory WORKDIR /home/container @@ -19,4 +17,4 @@ ENV PORT=80 ENV ENVIRONMENT=production # Run the jar file -CMD ["java", "-jar", "target/Minecraft-Utilities.jar"] \ No newline at end of file +CMD java -jar target/Minecraft-Utilities.jar -Djava.awt.headless=true \ No newline at end of file