Aktualizovat Dockerfile
All checks were successful
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Successful in 1m31s
All checks were successful
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Successful in 1m31s
This commit is contained in:
parent
a9a3b6cda4
commit
e483d6d89c
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user