From f6040f5445741b00a29ee1349cb9d196715eb231 Mon Sep 17 00:00:00 2001 From: James Brechtel Date: Thu, 21 May 2026 11:59:31 -0400 Subject: [PATCH] chore: add convert-to-cooklang and Python deps to Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bb3811c..5f12622 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates curl python3 python3-pip python3-venv tini && \ rm -rf /var/lib/apt/lists/* -# Install recipe-scrapers and Playwright in a virtualenv to isolate dependencies. +# Install recipe-scrapers, Playwright, and Anthropic SDK in a virtualenv to isolate dependencies. RUN python3 -m venv /opt/roux-venv && \ - /opt/roux-venv/bin/pip install --no-cache-dir recipe-scrapers==15.11.0 playwright==1.52.0 && \ + /opt/roux-venv/bin/pip install --no-cache-dir recipe-scrapers==15.11.0 playwright==1.52.0 anthropic pyyaml && \ rm -rf /root/.cache/pip # Install Playwright system dependencies and Chromium browser. @@ -18,8 +18,9 @@ RUN mkdir -p /build && date -u '+%Y-%m-%d %H:%M UTC' > /build/build-time ADD roux-server /usr/local/bin/roux-server ADD scripts/scrape-recipe /usr/local/bin/scrape-recipe +ADD scripts/convert-to-cooklang /usr/local/bin/convert-to-cooklang -RUN chmod +x /usr/local/bin/roux-server /usr/local/bin/scrape-recipe +RUN chmod +x /usr/local/bin/roux-server /usr/local/bin/scrape-recipe /usr/local/bin/convert-to-cooklang ENV PATH="/opt/roux-venv/bin:${PATH}" ENTRYPOINT ["/usr/bin/tini", "-s", "--"]