dockerfile: implement emoji-mart patch

rebase/4.0.0rc1
Ariadne Conill 2022-06-11 23:57:03 +00:00 committed by Ariadne Conill
parent 4c38a2d32c
commit 117d2ed9c7
1 changed files with 3 additions and 0 deletions

View File

@ -111,7 +111,10 @@ ENV BIND="0.0.0.0"
USER mastodon USER mastodon
# Precompile assets # 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 ~ && \ 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 && \ OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && \
yarn cache clean yarn cache clean