You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It used to be added to "command" in the production Dockerfile, ex command: bash -c unicorn && rake assets:precompile
That caused about 15 seconds of downtime on deploy as the assets compiled.
I moved it to the Dockerfile a few weeks, since it seems to fit with building the application image. That started causing problems because .js.erb files relied on environment variables that were not set at the time the container was being built.
I moved it (and rake webshims:update_public) to docker/entrypoint.sh for now, but that will still cause downtime when we deploy. Need to find a better solution.
The text was updated successfully, but these errors were encountered:
It used to be added to "command" in the production Dockerfile, ex
command: bash -c unicorn && rake assets:precompile
That caused about 15 seconds of downtime on deploy as the assets compiled.
I moved it to the Dockerfile a few weeks, since it seems to fit with building the application image. That started causing problems because .js.erb files relied on environment variables that were not set at the time the container was being built.
I moved it (and
rake webshims:update_public
) to docker/entrypoint.sh for now, but that will still cause downtime when we deploy. Need to find a better solution.The text was updated successfully, but these errors were encountered: