19 lines
554 B
Docker
19 lines
554 B
Docker
FROM python:3.8.6-slim
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install -r requirements.txt
|
|
|
|
RUN apt update \
|
|
apt install -y curl \
|
|
curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
|
|
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \
|
|
apt update \
|
|
apt install -y adoptopenjdk-11-openj9
|
|
|
|
RUN curl -s -Lo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \
|
|
apt remove -y curl
|
|
|
|
COPY README.md .
|
|
COPY src .
|
|
|
|
CMD [ "python", "-u", "./main.py" ]
|