Force mastodon_web to recompile its assets when it starts
This commit is contained in:
parent
5e798c6f35
commit
c56ab06b89
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ services:
|
|||
image: ghcr.io/mastodon/mastodon:v4.2.0
|
||||
restart: always
|
||||
env_file: .env.production
|
||||
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
|
||||
command: bash -c "rm -f /mastodon/tmp/pids/server.pid && bundle exec rake assets:precompile && bundle exec rails s -p 3000"
|
||||
networks:
|
||||
- mastodon
|
||||
- nginx
|
||||
|
|
Loading…
Reference in a new issue