Docker-Image-Minecraft-Stats/Dockerfile
Radim Lipovčan df97618092
Some checks failed
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Failing after 2m54s
Aktualizovat Dockerfile
2024-03-10 17:24:45 +01:00

6 lines
510 B
Docker

FROM ubuntu:22.04
RUN apt update; apt-get install software-properties-common -y && wget -O- https://apt.corretto.aws/corretto.key | apt-key add - && add-apt-repository 'deb https://apt.corretto.aws stable main' && apt-get update; apt-get install -y java-17-amazon-corretto-jdk unzip
COPY MinecraftStatsCLI.zip /source/MinecraftStatsCLI.zip
COPY MinecraftStatsWeb.zip /source/MinecraftStatsWeb.zip
RUN unzip /source/MinecraftStatsCLI.zip /opt/mcstatscli/
RUN unzip /source/MinecraftStatsWeb.zip /opt/mcstatsweb/