Skip to content

Commit

Permalink
Merge pull request #8 from best-friends/assets-precompile
Browse files Browse the repository at this point in the history
Fix assets precompile task
  • Loading branch information
rosylilly authored Apr 21, 2019
2 parents a3a204d + b626f76 commit 3ef2639
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.best-friends
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,6 @@ ENV RAILS_ENV=production
ENV NODE_ENV=production
ENV PATH=/opt/mastodon/bin:$PATH

RUN OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile
RUN cd ~ && \
OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder rails assets:precompile && \
yarn cache clean

0 comments on commit 3ef2639

Please sign in to comment.