image for the bot only

This commit is contained in:
Mylloon 2021-08-07 11:05:42 +02:00
parent c6561b3ee6
commit d4b647f325

View file

@ -3,16 +3,7 @@ FROM python:3.8.11-slim
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN mkdir -p /usr/share/man/man1 && \
apt update -y && \
apt install --no-install-recommends -y \
curl \
openjdk-11-jdk && \
curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar && \
apt remove curl -y
COPY README.md .
COPY src .
# CMD ["python", "-u", "./main.py"]
CMD ["./start.sh"]
CMD ["python", "-u", "./main.py"]