-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationideas
Description
python-polylith-example-uv/projects/my_fastapi_project/README.md
Lines 3 to 20 in ac4e868
| ## Build the project | |
| Navigate to this folder (where the `pyproject.toml` file is) | |
| 1. Export the dependencies (when using uv workspaces and having no project-specific lock-file): | |
| ``` shell | |
| uv export --no-emit-project --output-file requirements.txt | |
| ``` | |
| 2. Build a wheel: | |
| ``` shell | |
| uv build --out-dir ./dist | |
| ``` | |
| ## Build a docker image | |
| ``` shell | |
| docker build -t myimage . | |
| ``` |
I have been following the provided steps to build and run the project, which involve:
Exporting dependencies using uv export to generate requirements.txt.
Building a wheel file via uv build.
Building a Docker image using docker build.
These steps work well, but I’m looking for a more practical and efficient way to manage the project lifecycle, particularly when iterating on development. Instead of building the project each time, I’d like to simplify the process, ideally leveraging docker-compose to streamline dependencies and project setup.
as extra context, this is the project i'm working on https://github.com/Bot-detector/bot_detector
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationideas