-
Notifications
You must be signed in to change notification settings - Fork 3
Add new dockerfile images and reqs for celery #388
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
base: master
Are you sure you want to change the base?
Changes from all commits
9a4ee46
56a6847
bd87eed
ef32ada
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,114 @@ | ||
| # Project-specific ignores | ||
|
|
||
| # SSL certificates | ||
| certs | ||
| certbot | ||
|
|
||
|
|
||
| # Generic ignores | ||
|
|
||
| **/.git | ||
| **/.github | ||
| **/.gitignore | ||
| **/.vscode | ||
| **/coverage | ||
| **/.env | ||
| **/.aws | ||
| **/.ssh | ||
|
|
||
| Dockerfile | ||
| README.md | ||
| docker-compose.yml | ||
| **/.DS_Store | ||
| **/venv | ||
| **/env | ||
|
|
||
| # Git | ||
| .git | ||
| .gitignore | ||
| .gitattributes | ||
|
|
||
|
|
||
| # CI | ||
| .codeclimate.yml | ||
| .travis.yml | ||
| .taskcluster.yml | ||
|
|
||
| # Docker | ||
| docker-compose.yml | ||
| Dockerfile | ||
| .docker | ||
| .dockerignore | ||
|
|
||
| # Byte-compiled / optimized / DLL files | ||
| **/__pycache__/ | ||
| **/*.py[cod] | ||
|
|
||
| # C extensions | ||
| *.so | ||
|
|
||
| # Distribution / packaging | ||
| .Python | ||
| env/ | ||
| build/ | ||
| develop-eggs/ | ||
| dist/ | ||
| downloads/ | ||
| eggs/ | ||
| lib/ | ||
| lib64/ | ||
| parts/ | ||
| sdist/ | ||
| var/ | ||
| *.egg-info/ | ||
| .installed.cfg | ||
| *.egg | ||
|
|
||
| # PyInstaller | ||
| # Usually these files are written by a python script from a template | ||
| # before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
| *.manifest | ||
| *.spec | ||
|
|
||
| # Installer logs | ||
| pip-log.txt | ||
| pip-delete-this-directory.txt | ||
|
|
||
| # Unit test / coverage reports | ||
| htmlcov/ | ||
| .tox/ | ||
| .coverage | ||
| .cache | ||
| nosetests.xml | ||
| coverage.xml | ||
|
|
||
| # Translations | ||
| *.mo | ||
| *.pot | ||
|
|
||
| # Django stuff: | ||
| *.log | ||
|
|
||
| # Sphinx documentation | ||
| docs/_build/ | ||
|
|
||
| # PyBuilder | ||
| target/ | ||
|
|
||
| # Virtual environment | ||
| .env | ||
| .venv/ | ||
| venv/ | ||
|
|
||
| # PyCharm | ||
| .idea | ||
|
|
||
| # Python mode for VIM | ||
| .ropeproject | ||
| **/.ropeproject | ||
|
|
||
| # Vim swap files | ||
| **/*.swp | ||
|
|
||
| # VS Code | ||
| .vscode/ |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| celery==5.2.7 | ||
| flask==2.3.2 | ||
| flask-login==0.6.2 | ||
| flask_socketio==5.3.2 | ||
| flask-sqlalchemy==2.5.1 | ||
| jinja2==3.1.2 | ||
| mesa==1.1.1 | ||
| mysql-connector-python==8.0.32 | ||
| numpy==1.24.3 | ||
| quantities==0.14.1 | ||
| redis==4.5.4 | ||
| scikit-learn==1.2.0 | ||
| scipy==1.9.3 | ||
| sqlalchemy==1.4.46 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should some of these be removed from the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I played around with these dependencies quite a bit and if I remove anything else from either file something in the program will not function due to missing dependencies. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this was done in separate steps (first copy the requirements, then install them, then copy the rest), so that changing the dependencies can be cached when files change in the cwd. That is, I believe that without the extra step, if a file is added/changed, Docker has to execute the
COPYstep again and then reinstall the dependencies.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add the step process back in.