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