diff --git a/Dockerfile b/Dockerfile index aaf2894..28604bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,8 @@ RUN uv sync COPY . . RUN cd .venv/lib/*/site-packages/seleniumbase/drivers && ln -s /usr/bin/chromedriver uc_driver +ENV USE_HEADLESS=false + FROM base AS test RUN uv sync --group test diff --git a/README.md b/README.md index 24090f6..3c831f8 100644 --- a/README.md +++ b/README.md @@ -25,10 +25,10 @@ An alternative to [FlareSolverr](https://github.com/FlareSolverr/FlareSolverr) a ## Options -| Env | Default | Description | -| -------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `USE_XVFB` | `false` | Use virtual desktop with Xvfb. Requires Xvfb supported platform. (Can cause performance hog [#14](https://github.com/ThePhaseless/Byparr/issues/14)) | -| `USE_HEADLESS` | `true` | Use headless chromium. | +| Env | Default | Description | +| -------------- | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `USE_XVFB` | `false` | Use virtual desktop with Xvfb. Requires Xvfb supported platform. (Can cause performance hog [#14](https://github.com/ThePhaseless/Byparr/issues/14)) | +| `USE_HEADLESS` | `true/false on docker` | Use headless chromium. | ## Tags