2020-10-21 23:24:29 +02:00
|
|
|
FROM openjdk:11-jre
|
|
|
|
|
|
|
|
ENV APPLICATION_USER kotlin
|
|
|
|
RUN useradd $APPLICATION_USER
|
|
|
|
|
|
|
|
RUN mkdir /app
|
|
|
|
RUN chown -R $APPLICATION_USER /app
|
|
|
|
|
|
|
|
USER $APPLICATION_USER
|
|
|
|
|
|
|
|
WORKDIR /app
|
2020-10-21 23:39:35 +02:00
|
|
|
COPY ./build/libs/birb-integrated-bench-0.0.1.jar /app/birb-integrated-bench.jar
|
2020-10-21 23:24:29 +02:00
|
|
|
COPY ./wave.wav /app/wave.wav
|
|
|
|
|
2020-10-21 23:45:39 +02:00
|
|
|
CMD ["java", "-server", "-XX:+UnlockExperimentalVMOptions", "-XX:InitialRAMFraction=2", "-XX:MinRAMFraction=2", "-XX:MaxRAMFraction=2", "-XX:+UseG1GC", "-XX:MaxGCPauseMillis=100", "-XX:+UseStringDeduplication", "-jar", "birb-integrated-bench.jar"]
|