4 Commits

Author SHA1 Message Date
Michael Dong
f34c01afdf Add configurable Docker mirror for China network builds
Add DOCKER_MIRROR build arg to Dockerfiles so base images can be
pulled through a mirror registry (e.g. docker.1ms.run/) when Docker
Hub is unreachable. Defaults to empty (direct Docker Hub).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 13:44:04 +08:00
Michael Dong
4ea0f163c3 Add China mirror sources to frontend Dockerfile
Use Aliyun Alpine mirrors and npmmirror.com npm registry
for faster builds on mainland China servers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 11:27:23 +08:00
Michael Dong
faf9f3abcf Fix Docker configuration for deployment
- Update backend Dockerfile to use Rust 1.85 (edition 2024 support)
- Add Aliyun mirrors for Alpine packages
- Add rsproxy.cn mirror for cargo crates
- Enable static OpenSSL linking
- Fix frontend Dockerfile to use NEXT_PUBLIC_API_BASE
- Add mkdir -p public to ensure public dir exists
- Update docker-compose files to use correct env var names
- Add docker-compose.deploy.yml for production deployment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 18:35:45 +08:00
Michael Dong
a98e12f286 first commit 2026-02-05 11:24:40 +08:00