fixed assets 404 issue by precompiling assets during deployment