Commit Graph

14 Commits

Author SHA1 Message Date
nfel 040e57c3c0 Call uv by full path in single RUN layer
The install script doesn't modify PATH for the shell. Call uv via
full path (/root/.local/bin/uv) in the same RUN so there's no
layer boundary issue.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 21:50:26 +03:30
nfel 47fa0229b3 Install uv via curl in worker stage
The Playwright Noble image ships Python but not pip or uv in PATH.
Install uv directly via curl, then run uv sync natively so the venv
targets this image's Python 3.12 instead of copying a broken 3.11 venv.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 21:48:34 +03:30
nfel 82cf4f1f82 Remove double slash from FROM line — Docker parser doesn't support it
The // breaks Docker's stage name parsing (conflicts with 'AS').
Use oci.reg.darano.ir as a registry mirror in /etc/docker/daemon.json
if the local proxy requires the // prefix for path routing.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 21:46:35 +03:30
nfel 1ce57c3ea2 Fix worker rq not found — build venv natively in Playwright image
The Playwright Noble image ships Python 3.12 while the builder uses
python:3.11-slim. Copying the venv produced broken shebangs, causing
"exec /app/.venv/bin/rq: no such file or directory".

Fix: install uv in the worker stage and run uv sync natively so the
venv targets this image's Python version. Manifests copied first for
layer cache efficiency.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 21:39:51 +03:30
nfel 0bbd4ba840 Add double slash in Playwright registry mirror path
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 21:38:49 +03:30
nfel f60de9312a Use local registry mirror for Playwright image
Replace mcr.microsoft.com/playwright:v1.62.0-noble with
oci.reg.darano.ir/mcr.microsoft.com/playwright:latest for worker builds.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 21:28:19 +03:30
nfel a436b72bec Use Playwright base image for worker services
Replace chromium/chromedriver apt installs with
mcr.microsoft.com/playwright:v1.62.0-noble for worker containers.
Admin service stays on python:3.11-slim since it doesn't need Chrome.

This removes the build-time patch_driver.py step since Playwright ships
with a pre-patched Chromium binary. Also split docker-compose into
separate images (seed-admin / seed-worker) with explicit build targets.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-04 21:19:12 +03:30
nfel 66c8c19e0c Record worker browser sessions 2026-08-02 23:23:23 +03:30
nfel 3982b03f5c Use packaged Chromium driver in Docker 2026-07-28 22:15:14 +03:30
nfel 4462990d6f Bundle patched ChromeDriver in Docker image 2026-07-28 22:00:19 +03:30
nfel 983b5279a2 Fix Docker virtual environment packaging 2026-07-27 23:54:50 +03:30
nfel 943dc190a3 python version increased to 3.14 2026-07-27 15:49:33 +03:30
nfel 3a1ceaaf2e added docker and docker compose 2026-06-30 17:57:07 +03:30
nfel 70e78a2b31 deploy files added 2026-06-15 19:47:56 +03:30