mirror of
https://github.com/fsecada01/Pygentic-AI.git
synced 2026-05-12 20:25:04 +00:00
fix(docker): update build script to use uv sync instead of requirements files
- Replace pip-compile workflow with uv sync - Use pyproject.toml instead of requirements.in/txt files - Simplified build process (uv sync creates venv automatically) Fixes Docker build failure after migration to uv. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -7,15 +7,12 @@ cd /opt/pygentic_ai || exit
|
||||
# Verify Python version
|
||||
python3 --version
|
||||
|
||||
# Create venv with Python 3.13
|
||||
uv venv .venv --python python3.13
|
||||
# Install dependencies from pyproject.toml
|
||||
# Creates venv automatically if it doesn't exist
|
||||
uv sync --no-dev
|
||||
|
||||
# Activate venv
|
||||
source .venv/bin/activate
|
||||
|
||||
# Verify venv Python version
|
||||
python --version
|
||||
|
||||
for FILE in core_requirements dev_requirements
|
||||
do
|
||||
uv pip compile --upgrade $FILE.in -o $FILE.txt
|
||||
done
|
||||
uv pip sync core_requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user