This repository has been archived on 2022-05-12. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
lavalink/Dockerfile
2021-11-14 01:21:44 +01:00

15 lines
333 B
Docker

FROM eclipse-temurin:17-jdk
WORKDIR /opt
COPY download.sh .
RUN chmod u+x download.sh && ./download.sh && rm download.sh
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"]