Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/together/lib/cli/api/beta/jig/jig.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,9 @@ def _generate_dockerfile(config: Config) -> str:
pip = ""
if Path("pyproject.toml").exists():
pip = """COPY pyproject.toml .
ENV UV_PROJECT_ENVIRONMENT=/usr/local
RUN --mount=type=cache,target=/root/.cache/uv \\
uv pip install --system --compile-bytecode . && \\
uv sync --inexact --no-dev --no-install-project --compile-bytecode && \\
(python -c "import sprocket" 2>/dev/null || (echo "sprocket not found in pyproject.toml, installing from pypi.together.ai..." && uv pip install --system --extra-index-url https://pypi.together.ai/ sprocket))
"""

Expand Down
Loading