Skip to content

chore: split dependencies and slim down the docker image - #125

Merged
Joltras merged 4 commits into
devfrom
chore/dependencies
Nov 2, 2026
Merged

Joltras merged 4 commits into
devfrom
chore/dependencies

Conversation

@Joltras

@Joltras Joltras commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Proposed changes

Runtime and development dependencies are now split into requirements.txt and requirements-dev.txt, so linters and test tools no longer end up in the Docker image. Uvicorn is now listed as a regular dependency instead of being installed separately. The separate starlette pin was removed because fastapi already pins a compatible version, and the response class is now imported from fastapi. The Docker image no longer installs Tkinter, only copies the source code, runs as an unprivileged user and starts the app as controller:app, which avoids loading modules under two different names. Coverage files are now ignored by git.

Types of changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

@Joltras
Joltras merged commit c01713c into dev Nov 2, 2026
4 checks passed
@Joltras
Joltras deleted the chore/dependencies branch November 2, 2026 12:02
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.

1 participant