From 117d2ed9c73850bbba5bb9c77e392ee8338cfd77 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 11 Jun 2022 23:57:03 +0000 Subject: [PATCH] dockerfile: implement emoji-mart patch --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index cf311fef235..e943f7198d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -111,7 +111,10 @@ ENV BIND="0.0.0.0" USER mastodon # Precompile assets +# TODO(kaniini): Yarn install is invoked to allow us to pre-patch emoji-mart +# we should set up a deviation instead. RUN cd ~ && \ + yarn install && cp ./emoji_data/all.json ./node_modules/emoji-mart/data/all.json && \ OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && \ yarn cache clean