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

docker: Run migrations before starting server #176

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

eritbh
Copy link
Member

@eritbh eritbh commented Dec 17, 2023

Updates the dockerfile to run migrations before the web server starts. This uses the shell form of CMD to run multiple commands. The ENTRYPOINT is removed since it's not meant to be used with shell-form CMD, which is fine because nobody was doing manual docker runs on this container until now anyway.

Draft until I actually test this. also future erin PR this same thing to https://github.com/r-anime/flairsite when this is confirmed working

@eritbh eritbh added the devops label Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant