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>
This commit is contained in:
2026-08-04 21:46:35 +03:30
parent 1ce57c3ea2
commit 82cf4f1f82
+1 -1
View File
@@ -51,7 +51,7 @@ CMD ["python", "main.py", "admin"]
# ── Stage 2b: worker runtime (Playwright image with Chromium) ──────────────── # ── Stage 2b: worker runtime (Playwright image with Chromium) ────────────────
# The Playwright Noble image ships Python 3.12. Copying a venv built with # The Playwright Noble image ships Python 3.12. Copying a venv built with
# python:3.11-slim would produce broken shebangs — so we build the venv here. # python:3.11-slim would produce broken shebangs — so we build the venv here.
FROM oci.reg.darano.ir//mcr.microsoft.com/playwright:v1.62.0-noble AS worker FROM oci.reg.darano.ir/mcr.microsoft.com/playwright:v1.62.0-noble AS worker
ENV PATH="/app/.venv/bin:$PATH" \ ENV PATH="/app/.venv/bin:$PATH" \
PYTHONUNBUFFERED=1 \ PYTHONUNBUFFERED=1 \