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
580 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 && \
apt-get 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 && \
2021-08-06 14:15:55 +02:00
apt install -y adoptopenjdk-11-openj9
2021-08-06 14:45:38 +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" ]