Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/workflows/rhiza_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,9 @@ jobs:
docker buildx build \
--file docker/Dockerfile \
--tag "${REPO_NAME}:ci" \
--secret id=UV_EXTRA_INDEX_URL \
--load \
.
env:
UV_EXTRA_INDEX_URL: ${{ secrets.UV_EXTRA_INDEX_URL }}

3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ USER app_user
COPY --chown=app_user:app_user pyproject.toml uv.lock README.md src* ./

# Install dependencies into .venv (no dev deps)
RUN uv sync --frozen --no-dev --no-cache && \
RUN --mount=type=secret,id=UV_EXTRA_INDEX_URL,env=UV_EXTRA_INDEX_URL \
uv sync --frozen --no-dev --no-cache && \
# Install the package itself (non-editable, so src/ is not required afterwards) \
uv pip install --no-deps .

Expand Down