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:
+1
-1
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user