From 1d72ef3c75f7bf484a4950701b633a44a27b6352 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 6 Aug 2021 13:16:42 +0200 Subject: [PATCH] Download Lavalink and JAVA --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5cee7e8..ddb2acf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,20 @@ -FROM fredboat/lavalink:master - FROM python:3.8.6-slim COPY requirements.txt . RUN pip install -r requirements.txt -RUN apt update && \ +RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add - \ + add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \ + apt update && \ + apt install -y --no-install-recommands adoptopenjdk-11-openj9 \ apt install -y --no-install-recommends ffmpeg +RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar + COPY README.md . COPY src . CMD [ "python", "-u", "./main.py" ] + + +https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar