Download Lavalink and JAVA

This commit is contained in:
Mylloon 2021-08-06 13:16:42 +02:00
parent 69b045480b
commit 1d72ef3c75

View file

@ -1,14 +1,20 @@
FROM fredboat/lavalink:master
FROM python:3.8.6-slim FROM python:3.8.6-slim
COPY requirements.txt . COPY requirements.txt .
RUN pip install -r 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 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 README.md .
COPY src . COPY src .
CMD [ "python", "-u", "./main.py" ] CMD [ "python", "-u", "./main.py" ]
https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar