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