disable headless on docker

This commit is contained in:
ThePhaseless
2025-01-02 12:29:10 +00:00
parent 83169ce019
commit c4159e5c38
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -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
+4 -4
View File
@@ -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