From 82cf4f1f82fe8c506929f1b4a81ba2461e9351b1 Mon Sep 17 00:00:00 2001 From: nfel Date: Tue, 4 Aug 2026 21:46:35 +0330 Subject: [PATCH] =?UTF-8?q?Remove=20double=20slash=20from=20FROM=20line=20?= =?UTF-8?q?=E2=80=94=20Docker=20parser=20doesn't=20support=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e1e5458..08d45b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,7 +51,7 @@ CMD ["python", "main.py", "admin"] # ── Stage 2b: worker runtime (Playwright image with Chromium) ──────────────── # 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. -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" \ PYTHONUNBUFFERED=1 \