From 42c0c4e64c64c9395dcf40223e59c157fd7bebdf Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Tue, 19 Aug 2025 15:42:51 -0700 Subject: [PATCH] fixes for Docker IMG --- Dockerfile | 4 ++-- docker/Dockerfile.database | 4 ++-- docker/Dockerfile.non_root | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9261d55d7fe..addc109e10c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,8 +65,8 @@ COPY --from=builder /wheels/ /wheels/ # Install the built wheel using pip; again using a wildcard if it's the only file RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels -# Install semantic_router without dependencies -RUN pip install semantic_router --no-deps +# Install semantic_router and aurelio-sdk using script +RUN chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh # Generate prisma client RUN prisma generate diff --git a/docker/Dockerfile.database b/docker/Dockerfile.database index 956ec76dbe7..351c4f6bc48 100644 --- a/docker/Dockerfile.database +++ b/docker/Dockerfile.database @@ -57,8 +57,8 @@ COPY --from=builder /wheels/ /wheels/ # Install the built wheel using pip; again using a wildcard if it's the only file RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels -# Install semantic_router without dependencies -RUN pip install semantic_router --no-deps +# Install semantic_router and aurelio-sdk using script +RUN chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh # ensure pyjwt is used, not jwt RUN pip uninstall jwt -y diff --git a/docker/Dockerfile.non_root b/docker/Dockerfile.non_root index 388dc6d0766..c24c82b2898 100644 --- a/docker/Dockerfile.non_root +++ b/docker/Dockerfile.non_root @@ -47,8 +47,8 @@ RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ \ && rm -f *.whl \ && rm -rf /wheels -# Install semantic_router without dependencies -RUN pip install semantic_router --no-deps +# Install semantic_router and aurelio-sdk using script +RUN chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh # Ensure correct JWT library is used (pyjwt not jwt) RUN pip uninstall jwt -y && \