Fix the issue that image path for the avartar is not loaded
generate the assets for deployment