Fix docker image build

Pushed assets precompile until after docker container is run.
Performing it during image build failed because initializing the rails environment now depends on the secret key being present (which is defined when running the container).