From 3950e73d2b940045f3e03bf865aab27697e5d9ff Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 26 Jan 2024 22:59:09 -0500 Subject: [PATCH] Enable yjit --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]