Skip to content
Merged
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
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ FROM python:3.12-slim AS db-downloader
WORKDIR /app/data

# Download a pinned DDInter SQLite DB from the project's release source.
ARG INTERACTION_DB_REPO
ARG INTERACTION_DB_TAG
ARG INTERACTION_DB_SHA256
ARG INTERACTION_DB_REPO=SPerekrestova/pillchecker-api
ARG INTERACTION_DB_TAG=ddinter-2026-05-16
ARG INTERACTION_DB_SHA256=ebdd0640949ca551c0d669ee1161b00e5d868ef067c857852a8afc380e51d4fb
COPY scripts/download_interaction_db.py /tmp/download_interaction_db.py
RUN --mount=type=secret,id=github_token,required=false \
INTERACTION_DB_REPO="$(printf '%s' "${INTERACTION_DB_REPO}" | tr -d "\r\n")"; \
Expand Down
3 changes: 3 additions & 0 deletions tests/test_tier1_benchmark_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def test_dockerfile_has_separate_runtime_and_benchmark_targets():
assert "FROM app-base AS runtime" in dockerfile
assert "COPY eval/ /app/eval/" in dockerfile
assert 'ENTRYPOINT ["python", "-m", "eval.run_benchmark"]' in dockerfile
assert "ARG INTERACTION_DB_REPO=SPerekrestova/pillchecker-api" in dockerfile
assert "ARG INTERACTION_DB_TAG=ddinter-2026-05-16" in dockerfile
assert "ARG INTERACTION_DB_SHA256=ebdd0640949ca551c0d669ee1161b00e5d868ef067c857852a8afc380e51d4fb" in dockerfile
assert 'INTERACTION_DB_REPO="$(printf' in dockerfile
assert 'INTERACTION_DB_TAG="$(printf' in dockerfile
assert 'tr -d "\\r\\n"' in dockerfile
Expand Down
Loading