Play around with yjit #12
1 changed files with 2 additions and 1 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue