From 5e0dfd2a912cf466a81ba603f16d566323e7b8da Mon Sep 17 00:00:00 2001 From: Thephaseless Date: Sat, 30 Nov 2024 11:38:48 +0000 Subject: [PATCH] use dynamic driver symlink --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 86330fb..d1ad6d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,5 +28,5 @@ RUN poetry install COPY . . HEALTHCHECK --interval=60s --timeout=30s --start-period=5s --retries=3 CMD [ "curl", "http://localhost:8191/health" ] -RUN ln /usr/bin/chromedriver ./.venv/lib/python3.12/site-packages/seleniumbase/drivers/uc_driver +RUN cd .venv/lib/*/site-packages/seleniumbase/drivers && ln -s /usr/bin/chromedriver uc_driver CMD ["./cmd.sh"] \ No newline at end of file