diff --git a/docker/server/Dockerfile b/docker/server/Dockerfile index 6f908ff2a..98c7db2ef 100644 --- a/docker/server/Dockerfile +++ b/docker/server/Dockerfile @@ -1,5 +1,7 @@ FROM amazoncorretto:21 WORKDIR /lh +RUN amazon-linux-extras install epel -y && yum install jemalloc -y +ENV LD_PRELOAD=/usr/lib64/libjemalloc.so.1 COPY ./docker/server/docker-entrypoint.sh /lh COPY ./server/build/libs/server-*-all.jar /lh/server.jar ENTRYPOINT ["/lh/docker-entrypoint.sh"]