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