How to mount app directory as a persistent volume when the app starts?

Are you trying to mount a volume at /tmp? It’s probably best to mount to a different location, almost every Docker image already has a tmp directory (and we can’t mount over an existing directory).