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
401 B
Text
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
2021-08-10 09:48:50 +02:00
ENV DOCKER_KASSOUBOT=True
2021-03-17 20:40:11 +01:00
COPY requirements.txt .
2021-08-10 10:30:50 +02:00
RUN apt update && \
2021-08-15 13:21:18 +02:00
apt install git curl -y && \
2021-08-10 10:29:01 +02:00
pip install -r requirements.txt && \
2021-08-15 15:09:24 +02:00
apt purge git -y
2021-03-17 20:40:11 +01:00
2021-05-13 09:23:49 +02:00
COPY README.md .
WORKDIR /opt
2021-03-17 20:40:11 +01:00
COPY src .
2021-08-15 15:28:18 +02:00
2021-08-15 15:34:58 +02:00
RUN curl -Lso lavalink/README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/raw/main/README.md && \
2021-08-15 15:09:24 +02:00
apt purge curl -y
2021-03-17 20:40:11 +01:00
2021-08-07 11:05:42 +02:00
CMD ["python", "-u", "./main.py"]