mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
disable headless on docker
This commit is contained in:
parent
e858539ff9
commit
20331c5f9f
@ -25,6 +25,8 @@ RUN uv sync
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN cd .venv/lib/*/site-packages/seleniumbase/drivers && ln -s /usr/bin/chromedriver uc_driver
|
RUN cd .venv/lib/*/site-packages/seleniumbase/drivers && ln -s /usr/bin/chromedriver uc_driver
|
||||||
|
|
||||||
|
ENV USE_HEADLESS=false
|
||||||
|
|
||||||
FROM base AS test
|
FROM base AS test
|
||||||
|
|
||||||
RUN uv sync --group test
|
RUN uv sync --group test
|
||||||
|
@ -26,9 +26,9 @@ An alternative to [FlareSolverr](https://github.com/FlareSolverr/FlareSolverr) a
|
|||||||
## Options
|
## Options
|
||||||
|
|
||||||
| Env | Default | Description |
|
| 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_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. |
|
| `USE_HEADLESS` | `true/false on docker` | Use headless chromium. |
|
||||||
|
|
||||||
## Tags
|
## Tags
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user