mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-19 20:09:16 +00:00
mastodon: fix master
This commit is contained in:
parent
bc6c5d4864
commit
b1c326e678
@ -19,6 +19,7 @@ RUN apk -U upgrade \
|
||||
ffmpeg \
|
||||
file \
|
||||
git \
|
||||
icu-libs \
|
||||
imagemagick \
|
||||
libpq \
|
||||
libressl \
|
||||
@ -36,6 +37,7 @@ RUN apk -U upgrade \
|
||||
su-exec \
|
||||
&& apk add -t build-dependencies \
|
||||
build-base \
|
||||
icu-dev \
|
||||
libffi-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
@ -51,7 +53,7 @@ RUN apk -U upgrade \
|
||||
&& bundle install --deployment --clean --no-cache --without test development \
|
||||
&& npm install -g npm@3 && npm install -g yarn \
|
||||
&& yarn --ignore-optional --pure-lockfile \
|
||||
&& SECRET_KEY_BASE=$(rake secret) rake assets:precompile \
|
||||
&& SECRET_KEY_BASE=$(rake secret) SMTP_FROM_ADDRESS= rake assets:precompile \
|
||||
&& npm -g cache clean && yarn cache clean \
|
||||
&& mv public/assets /tmp/assets && mv public/packs /tmp/packs \
|
||||
&& apk del build-dependencies \
|
||||
|
Loading…
x
Reference in New Issue
Block a user