Aktualizovat Dockerfile
All checks were successful
Build Minecraft Stats Ownercz Image / Build-Minecraft-Stats-Image (push) Successful in 3m12s

This commit is contained in:
Radim Lipovčan 2024-03-12 18:01:14 +01:00
parent e483d6d89c
commit 8198eed9a6

View File

@ -2,7 +2,7 @@ FROM ubuntu:22.04
RUN apt-get update; apt-get install -y wget gpg unzip RUN apt-get update; apt-get install -y wget gpg unzip
RUN wget -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \ RUN wget -O - https://apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg && \
echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list
RUN apt-get update; apt-get install -y java-17-amazon-corretto-jdk RUN apt-get update; apt-get install -y nginx java-17-amazon-corretto-jdk
COPY MinecraftStatsCLI.zip /source/MinecraftStatsCLI.zip COPY MinecraftStatsCLI.zip /source/MinecraftStatsCLI.zip
COPY MinecraftStatsWeb.zip /source/MinecraftStatsWeb.zip COPY MinecraftStatsWeb.zip /source/MinecraftStatsWeb.zip
COPY nginx.conf /opt/nginx.conf COPY nginx.conf /opt/nginx.conf