curl when folder created

This commit is contained in:
Mylloon 2021-08-15 15:09:24 +02:00
parent 553440853f
commit 4072b655d6

View file

@ -6,12 +6,13 @@ 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
apt purge git -y
COPY README.md .
WORKDIR /opt
COPY src .
RUN curl -Lso /opt/src/lavalink/README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/blob/main/README.md && \
apt purge curl -y
CMD ["python", "-u", "./main.py"]