Skip to content

Commit

Permalink
Fix assets precompile task
Browse files Browse the repository at this point in the history
  • Loading branch information
rosylilly committed Apr 21, 2019
1 parent a3a204d commit b626f76
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 b626f76

Please sign in to comment.