From e483d6d89cadc1590fe837f71f745ede3035f25d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20Lipov=C4=8Dan?= Date: Tue, 12 Mar 2024 17:45:12 +0100 Subject: [PATCH] Aktualizovat Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9ae0efe..1b5e37a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corre RUN apt-get update; apt-get install -y java-17-amazon-corretto-jdk COPY MinecraftStatsCLI.zip /source/MinecraftStatsCLI.zip COPY MinecraftStatsWeb.zip /source/MinecraftStatsWeb.zip +COPY nginx.conf /opt/nginx.conf RUN unzip /source/MinecraftStatsCLI.zip -d /opt/mcstatscli/ RUN unzip /source/MinecraftStatsWeb.zip -d /opt/mcstatsweb/ CMD ["nginx", "-c","/opt/nginx.conf","-g", "daemon off;", "java","-jar","/opt/mcstatscli/MinecraftStatsCLI.jar"]