using flat python

This commit is contained in:
Mylloon 2021-08-06 14:41:54 +02:00
parent 13dd654f5a
commit 60a29316b7

View file

@ -1,13 +1,11 @@
FROM python:3.8.6-slim FROM python:3.8.6
COPY requirements.txt . COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN apt update -y \ RUN curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
apt install -y curl \
curl https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add - \
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \ add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ \
apt update -y \ apt update \
apt install -y adoptopenjdk-11-openj9 apt install -y adoptopenjdk-11-openj9
RUN curl -s -Lo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \ RUN curl -s -Lo Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \