I'm using testcontainers to spin up a postgres instance for testing against, but after every test I need to shut down the container, start up a new one, and then run all my migrations and seed scripts again. It seems like there should be a way to image the instance once I've run those so I can re-use it in future tests, but I don't see anything in the docs that'd allow this... or am I missing something? the ability to take an archive seemed like it'd work, but there doesn't seem to be any way to init a new instance using that archive
I'm using testcontainers to spin up a postgres instance for testing against, but after every test I need to shut down the container, start up a new one, and then run all my migrations and seed scripts again. It seems like there should be a way to image the instance once I've run those so I can re-use it in future tests, but I don't see anything in the docs that'd allow this... or am I missing something? the ability to take an archive seemed like it'd work, but there doesn't seem to be any way to init a new instance using that archive