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

20 lines
555 B
Docker
Raw Normal View History

2021-03-17 21:36:41 +01:00
FROM python:3.8.6-slim
2021-03-17 20:40:11 +01:00
COPY requirements.txt .
RUN pip install -r requirements.txt
2021-08-06 14:26:15 +02:00
RUN apt update \
apt install -y curl \
2021-08-06 14:22:51 +02:00
curl -s 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:26:15 +02:00
apt update \
2021-08-06 14:15:55 +02:00
apt install -y adoptopenjdk-11-openj9
2021-08-06 14:18:09 +02:00
RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \
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" ]