Start up or post build script?

When deploying on streamlit cloud, is there a way to run a post-build or start up bash script?

I have a few different use cases for this:

  1. Installing an additional dependency that apt and python/conda cannot handle
  2. Starting a virtual frame buffer like xvfb for 3D rendering