curl when folder created
This commit is contained in:
parent
553440853f
commit
4072b655d6
1 changed files with 3 additions and 2 deletions
|
@ -6,12 +6,13 @@ COPY requirements.txt .
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install git curl -y && \
|
apt install git curl -y && \
|
||||||
pip install -r requirements.txt && \
|
pip install -r requirements.txt && \
|
||||||
curl -Lso /src/lavalink/README.md https://gitlab.com/ConfrerieDuKassoulait/lavalink/-/blob/main/README.md && \
|
apt purge git -y
|
||||||
apt purge git curl -y
|
|
||||||
|
|
||||||
COPY README.md .
|
COPY README.md .
|
||||||
|
|
||||||
WORKDIR /opt
|
WORKDIR /opt
|
||||||
COPY src .
|
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"]
|
CMD ["python", "-u", "./main.py"]
|
||||||
|
|
Reference in a new issue