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-16 09:45:00 +02:00

19 lines
400 B
Docker

FROM python:3.9.5-slim
ENV DOCKER_KASSOUBOT=True
COPY requirements.txt .
RUN apt update && \
apt install git curl -y && \
pip install -r requirements.txt && \
apt purge git -y
COPY README.md .
WORKDIR /opt
COPY src .
RUN curl -Lso lavalink/README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/raw/main/README.md && \
apt purge curl -y
CMD ["python", "-u", "./main.py"]