17 lines
389 B
Docker
17 lines
389 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 && \
|
|
curl -Lso /src/lavalink/README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/blob/main/README.md && \
|
|
apt purge git curl -y
|
|
|
|
COPY README.md .
|
|
|
|
WORKDIR /opt
|
|
COPY src .
|
|
|
|
CMD ["python", "-u", "./main.py"]
|