Skip to content

Conversation

@javidahmed64592
Copy link
Owner

This pull request refactors the Dockerfile for the Python Template Server by simplifying the build process and dependency installation. The main change is the removal of the multi-stage build in favor of directly installing dependencies from the GitHub repository using uv. Additionally, Git is now installed in the runtime image to support dependency resolution.

Build process simplification:

  • Removed the multi-stage build setup, including the builder stage and wheel build steps, to streamline the Dockerfile and reduce complexity.
  • Replaced wheel installation with direct dependency installation from the GitHub repository using uv pip install --system git+https://github.com/javidahmed64592/python-template-server.git.

Dependency management:

  • Added installation of Git in the runtime image to enable resolving dependencies directly from the GitHub repository.

Other changes:

  • Cleaned up the Dockerfile by removing unused commands and comments related to the previous multi-stage build process.

@javidahmed64592 javidahmed64592 merged commit 4c0fd0e into main Nov 30, 2025
7 checks passed
@javidahmed64592 javidahmed64592 deleted the update-dockerfile branch November 30, 2025 03:00
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.

2 participants