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
340 B
Text
Raw Normal View History

2021-11-14 01:17:04 +01:00
FROM eclipse-temurin:17-jdk-alpine
2021-08-08 02:29:56 +02:00
WORKDIR /opt
2021-08-08 02:40:53 +02:00
2021-08-15 14:55:48 +02:00
COPY download.sh .
2021-08-15 15:01:38 +02:00
RUN chmod u+x download.sh && ./download.sh && rm download.sh
2021-08-15 14:55:48 +02:00
2021-08-08 02:29:56 +02:00
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"]