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"]