This repository has been archived on 2022-05-12. You can view files and clone it, but cannot push or open issues or pull requests.
lavalink/Dockerfile

16 lines
422 B
Text
Raw Normal View History

2021-08-08 02:29:56 +02:00
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
COPY application.yml .
2021-08-08 02:36:53 +02:00
RUN groupadd -g 322 lavalink && \
useradd -r -u 322 -g lavalink lavalink
USER lavalink
2021-08-08 02:29:56 +02:00
ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.3", "-Xmx3G", "-jar", "Lavalink.jar"]