From 0b2bf9e12a09503918d39ff316c861d70276fef8 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