Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Dockerfile independent of postgres or .sqlx directory #1

Open
natimerry opened this issue Oct 25, 2024 · 0 comments
Open

Make Dockerfile independent of postgres or .sqlx directory #1

natimerry opened this issue Oct 25, 2024 · 0 comments
Assignees

Comments

@natimerry
Copy link
Owner

As it currently stands, to build the project you either need a cached .sqlx directory with SQLX_OFFLINE=true set to true in the env vars or have an active database connection during building.

Change this so that the dockerfile pulls in a throwaway postgres container (this should be in a different stage so that it doesnt end up in the final container).

@natimerry natimerry self-assigned this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant