This repository has been archived on 2022-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
KassouBot/Dockerfile

18 lines
506 B
Text
Raw Normal View History

2021-08-06 14:41:54 +02:00
FROM python:3.8.6
2021-03-17 20:40:11 +01:00
COPY requirements.txt .
RUN pip install -r requirements.txt
2021-08-06 14:41:54 +02:00
RUN curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
2021-08-06 13:16:42 +02:00
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \
2021-08-06 14:41:54 +02:00
apt update \
2021-08-06 14:15:55 +02:00
apt install -y adoptopenjdk-11-openj9
2021-08-06 14:28:19 +02:00
RUN curl -s -Lo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \
2021-08-06 14:18:09 +02:00
apt remove -y curl
2021-08-06 13:16:42 +02:00
2021-05-13 09:23:49 +02:00
COPY README.md .
2021-03-17 20:40:11 +01:00
COPY src .
CMD [ "python", "-u", "./main.py" ]