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

19 lines
453 B
Docker
Raw Normal View History

2021-08-07 02:29:13 +02:00
FROM python:3.8.11-slim
2021-03-17 20:40:11 +01:00
COPY requirements.txt .
RUN pip install -r requirements.txt
2021-08-06 15:37:27 +02:00
RUN mkdir -p /usr/share/man/man1 && \
2021-08-06 15:41:24 +02:00
apt update -y && \
2021-08-07 02:29:13 +02:00
apt install --no-install-recommends -y \
curl \
openjdk-11-jdk && \
2021-08-06 15:34:51 +02:00
curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar && \
2021-08-06 15:54:20 +02:00
apt remove curl -y
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 .
2021-08-07 03:44:40 +02:00
# CMD ["python", "-u", "./main.py"]
CMD ["./start.sh"]