Enable yjit
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Andrew Tomaka 2024-01-26 22:59:09 -05:00
parent 70a75ebb92
commit 3950e73d2b
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -55,7 +55,8 @@ 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=libjemalloc.so.2 ENV LD_PRELOAD=libjemalloc.so.2 \
RUBY_YJIT_ENABLE="1"
# Entrypoint prepares the database. # Entrypoint prepares the database.
ENTRYPOINT ["/rails/bin/docker-entrypoint"] ENTRYPOINT ["/rails/bin/docker-entrypoint"]