diff --git a/Dockerfile b/Dockerfile index 8ee8a9a..4ce7a6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -55,7 +55,8 @@ RUN useradd rails --create-home --shell /bin/bash && \ chown -R rails:rails db log storage tmp USER rails:rails -ENV LD_PRELOAD=libjemalloc.so.2 +ENV LD_PRELOAD=libjemalloc.so.2 \ + RUBY_YJIT_ENABLE="1" # Entrypoint prepares the database. ENTRYPOINT ["/rails/bin/docker-entrypoint"]