FROM python:3.8.11-slim
ENV DOCKER_KASSOUBOT=True
COPY requirements.txt .
RUN apt update && \
apt install git -y && \
pip install -r requirements.txt && \
git submodule update --force --recursive --init --remote && \
apt purge git -y
COPY README.md .
WORKDIR /opt
COPY src .
COPY /src/lavalink/README.md lavalink/
CMD ["python", "-u", "./main.py"]