Cross platform jemalloc

This commit is contained in:
Andrew Tomaka 2024-01-26 22:04:17 -05:00
parent 29cc4e10ad
commit 70a75ebb92
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -55,7 +55,7 @@ RUN useradd rails --create-home --shell /bin/bash && \
chown -R rails:rails db log storage tmp chown -R rails:rails db log storage tmp
USER rails:rails USER rails:rails
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 ENV LD_PRELOAD=libjemalloc.so.2
# Entrypoint prepares the database. # Entrypoint prepares the database.
ENTRYPOINT ["/rails/bin/docker-entrypoint"] ENTRYPOINT ["/rails/bin/docker-entrypoint"]