th: dockerfile: implement emoji-mart patch
This commit is contained in:
parent
5ac86a2097
commit
b17c429263
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue