21 lines
431 B
Docker
21 lines
431 B
Docker
FROM python:3.8.11-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 .
|
|
|
|
WORKDIR /opt/src/lavalink
|
|
RUN curl -Lso README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/raw/main/README.md && \
|
|
apt purge curl -y
|
|
WORKDIR /opt
|
|
|
|
CMD ["python", "-u", "./main.py"]
|