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
2021-08-06 14:48:14 +02:00

19 lines
597 B
Docker

FROM python:3.8.6-slim
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN apt-get update && \
apt-get install -y gnupg2 curl && \
curl -s https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - && \
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ && \
apt update && \
apt install -y adoptopenjdk-11-openj9
RUN curl -s -Lo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar && \
apt remove -y curl gnupg2
COPY README.md .
COPY src .
CMD [ "python", "-u", "./main.py" ]