fix java
This commit is contained in:
parent
05c3b0ac87
commit
0a65ab82de
1 changed files with 6 additions and 3 deletions
|
@ -3,9 +3,12 @@ FROM python:3.8.6-slim
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
RUN apt update
|
RUN mkdir -p /usr/share/man/man1 && \ # fix to install java
|
||||||
RUN apt install openjdk-11-jdk -y
|
apt update && \
|
||||||
RUN curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar
|
apt install curl openjdk-11-jdk -yf && \
|
||||||
|
curl -sLo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar && \
|
||||||
|
apt remove curl && \
|
||||||
|
apt autoremove -y
|
||||||
|
|
||||||
COPY README.md .
|
COPY README.md .
|
||||||
COPY src .
|
COPY src .
|
||||||
|
|
Reference in a new issue