no need to install curl

This commit is contained in:
Mylloon 2021-08-08 02:40:53 +02:00
parent c1770b88bb
commit 80b52dbae8

View file

@ -1,10 +1,8 @@
FROM adoptopenjdk:16-openj9
WORKDIR /opt
RUN apt update & \
apt install curl & \
curl -Lso Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar \
apt remove curl
RUN curl -Lso Lavalink.jar https://github.com/freyacodes/Lavalink/releases/download/3.3.2.5/Lavalink.jar
COPY application.yml .
RUN groupadd -g 322 lavalink && \