Custom CSS script setup

I am using the Custom CSS app, and I’m perfectly happy with it, but I would like to know if there is any way to use a script on my Linux host system to set the custom css when creating the nextcloud docker container. I assume I could be possible either using occ or copying a css file to a certain location, but I can’t find where the Custom CSS is copied in the nextcloud files.

Any help would be appreciated

Maybe this helps?

occ config:app:set theming_customcss customcss --value="$CSS"


Yes, exactly what I was looking for ! Now I can write a CSS file, cat it to the CSS variable and set it ! Thank you very much !