Skip to content

How to deploy/install migration files #514

Description

@hellow554

Hey there,

I have a docker container that uses a multi stage build, e.g. the first container builds the app with uv and then copies the result to a second container.

Now the tricky part - how to deploy the migrations folder?

I moved it to src/windfish/migrations, so it gets copied into the venv during installation, but how do I tell aerich where to look for the files?
Especially since development these files aren't in the venv, but in my local src folder.

What's the best idea here?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions