FROM python:3.8.6-slim
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN apt update
RUN apt install curl openjdk-11-jdk -y
RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar
RUN apt remove curl
RUN apt autoremove
COPY README.md .
COPY src .
CMD [ "python", "-u", "./main.py" ]