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
543 B
Text
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:13:59 +02:00
RUN apt install -y curl \
2021-08-06 14:11:11 +02:00
curl -so - 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/ \
apt update && \
2021-08-06 13:48:49 +02:00
apt install -y --no-install-recommands adoptopenjdk-11-openj9
2021-08-06 13:16:42 +02:00
RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar
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" ]