13 lines
357 B
Docker
13 lines
357 B
Docker
FROM adoptopenjdk:16-openj9
|
|
|
|
WORKDIR /opt
|
|
|
|
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 && \
|
|
useradd -r -u 322 -g lavalink lavalink
|
|
|
|
USER lavalink
|
|
|
|
ENTRYPOINT ["java", "-Djdk.tls.client.protocols=TLSv1.3", "-Xmx3G", "-jar", "Lavalink.jar"]
|