Fix pip build: use PyPI via VPN proxy instead of Arvan mirror
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-1
@@ -216,7 +216,9 @@ git push origin main
|
||||
|
||||
**راهحل (در Dockerfile اعمال شده):**
|
||||
- Base image از `docker.arvancloud.ir/library/python:3.12-slim-bookworm`
|
||||
- pip از `mirror.arvancloud.ir`
|
||||
- pip از `pypi.org` از طریق پروکسی VPN (`172.17.0.1:1081`)
|
||||
|
||||
**اگر pip fail شد:** VPN را روشن کنید و دوباره Deploy بزنید.
|
||||
|
||||
**قبل از deploy دستی روی سرور (اختیاری):**
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user