Skip to content

Commit

Permalink
installs jemalloc on server dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eduwercamacaro committed Dec 5, 2024
1 parent db18236 commit 4a98d7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down

0 comments on commit 4a98d7d

Please sign in to comment.