Commit graph

14 commits

Author SHA1 Message Date
Benjamin Bach 2c99799d4d Shorten and document Docker tweaks for Python and pip (#35)
All checks were successful
continuous-integration/drone/push Build is passing
Wanted to use some of the setup for bootstrapping another project, so I had a close look over these couple of items.

Reviewed-on: #35
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-07-23 22:48:24 +00:00
Víðir Valberg Guðmundsson 480eecca12 Cleanup. 2024-07-14 23:14:07 +02:00
Víðir Valberg Guðmundsson 712c50fac7 Use hatch for installing.
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 11:05:21 +01:00
Víðir Valberg Guðmundsson 1b65558608 Lint galore. Also use python 3.12. 2024-02-29 21:28:17 +01:00
Víðir Valberg Guðmundsson 26e06dfaea Upgrade to python 3.11. Update pre-commit. Small settings adjustments.
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-11 21:55:58 +01:00
Víðir Valberg Guðmundsson 4c5803545d Switch out poetry with pip-tools.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 20:51:09 +01:00
Víðir Valberg Guðmundsson 0278b2b48e Upgrade django, python, etc.
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-13 20:44:09 +01:00
Víðir Valberg Guðmundsson 55fd4cdd6c Expose port 8000 in the image.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 21:44:57 +01:00
Víðir Valberg Guðmundsson cceaf25c6b Uvicorn has --app-dir, which might do the trick.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 17:49:37 +01:00
Víðir Valberg Guðmundsson cbdbd7f7cf Set WORKDIR to /app/src before setting CMD.
Some checks are pending
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is running
2021-03-01 17:35:43 +01:00
Víðir Valberg Guðmundsson fb00df7274 Fix docker CMD. Add asgi.py. Fix static root.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 17:13:15 +01:00
Víðir Valberg Guðmundsson ea3039a279 Fix entrypoint paths. Add uvicorn. Set correct port.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 14:13:19 +01:00
Víðir Valberg Guðmundsson cf33b95201 Getting ready for some translations. 2021-02-28 23:55:01 +01:00
Víðir Valberg Guðmundsson 4c75991fcb Refactoring things and doing stuff WIP way. 2021-02-27 21:07:48 +01:00
Renamed from docker/Dockerfile (Browse further)