Right now, dev and prod are both run out of instance/. But, we can change that if we want to bifurcate them, just pass an override directory path as app = Flask(__name__, instance_path='/path/to/instance/folder'), see https://flask.palletsprojects.com/en/2.3.x/config/#instance-folders. We'll need to change a few conventions and assumptions, and we'll need to update the gitignore, if we choose to do this.
Right now, dev and prod are both run out of instance/. But, we can change that if we want to bifurcate them, just pass an override directory path as
app = Flask(__name__, instance_path='/path/to/instance/folder')
, see https://flask.palletsprojects.com/en/2.3.x/config/#instance-folders. We'll need to change a few conventions and assumptions, and we'll need to update the gitignore, if we choose to do this.