Skip to content

docker: Run migrations before starting server#176

Draft
eritbh wants to merge 1 commit into
mainfrom
chore/dockerfile-run-migrations
Draft

docker: Run migrations before starting server#176
eritbh wants to merge 1 commit into
mainfrom
chore/dockerfile-run-migrations

Conversation

@eritbh
Copy link
Copy Markdown
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