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

Run Flask dev server in docker-compose #119

Merged
merged 3 commits into from
Aug 24, 2021

Conversation

alexjball
Copy link
Member

Fixes #118

Run the flask dev server and table init scripts on startup. Also exclude unnecessary folders from images to reduce size/build time.

@JMStudiosJoe
Copy link
Collaborator

@alexjball is this one ready to be reviewed or needs to pass all checks first?

The node image uses npm 6, but npm 7 is available. Using npm 6 generates
a warning about lockfile versions. Updating to 7 fixes the warning.
The compose file now runs the flask dev server and initializes tables on
startup. Also exclude unnecessary folders from build contexts to reduce
image size/build time.
This allows flask to reload when editing files.
@alexjball
Copy link
Member Author

@JMStudiosJoe This is ready to review. Checks should all be passing now

@JMStudiosJoe JMStudiosJoe merged commit 445707b into codeforboston:main Aug 24, 2021
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

Successfully merging this pull request may close these issues.

[BUG] POST to /login route causes 500 error
2 participants