Root for curl

This commit is contained in:
Mylloon 2021-08-08 02:36:53 +02:00
parent b37e819d46
commit 23b498569f

View file

@ -1,10 +1,5 @@
FROM adoptopenjdk:16-openj9
RUN groupadd -g 322 lavalink && \
useradd -r -u 322 -g lavalink lavalink
USER lavalink
WORKDIR /opt
RUN apt update & \
apt install curl & \
@ -12,4 +7,9 @@ RUN apt update & \
apt remove curl
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"]