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
598 B
Text
Raw Normal View History

2021-08-06 14:45:38 +02: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:45:38 +02:00
RUN apt-get update && \
2021-08-06 14:48:03 +02:00
apt-get install -y gnupg2 curl && \
2021-08-06 14:54:40 +02:00
curl -so - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
2021-08-06 14:45:38 +02:00
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \
apt update && \
2021-08-06 14:15:55 +02:00
apt install -y adoptopenjdk-11-openj9
2021-08-06 14:54:40 +02:00
RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar && \
2021-08-06 14:48:14 +02:00
apt remove -y curl gnupg2
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" ]