Does our Discourse container need rebuilt?

Can we run the commands in the after_code section without rebuilding and restart the container after?