Copy startup script to notebook using custom image

Hello, I am trying to copy a startup script to the /.ipython/profile_default/startup/ directory and I am doing this through a dockerfile that builds a custom image. I’ve created a spawner profile list to launch different environments using different images through the kubespawner override function. If I create a pod that pulls that image, the directory is successfully created and the file is copied over, but when my notebook is created from jupyterhub, the files are not being copied over. I suspect it has something with the entrypoint of the image, but I am not sure. Any idea on how I can resolve this?

Hi! Can you show us your Z2JH configuration, and ideally your Dockerfile?