mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-09 17:06:15 +00:00
feat: update Dockerfile and documentation for platform-specific dependency generation
This commit is contained in:
@@ -186,6 +186,21 @@ docker inspect --format='{{.State.Health.Status}}' microsoft-rewards-script
|
||||
|
||||
## ⚠️ Important Notes
|
||||
|
||||
### Platform Compatibility
|
||||
|
||||
The Docker build **automatically generates platform-specific dependencies** for the target architecture:
|
||||
|
||||
- ✅ **Windows (x86_64)** — Fully supported
|
||||
- ✅ **Linux (x86_64)** — Fully supported
|
||||
- ✅ **Raspberry Pi (ARM64)** — Fully supported
|
||||
- ✅ **macOS (ARM64/Apple Silicon)** — Fully supported
|
||||
|
||||
The build process regenerates `package-lock.json` inside the container to ensure native dependencies (Playwright, etc.) match the target platform. This means:
|
||||
|
||||
- **No cross-platform compatibility issues**
|
||||
- **Native performance on all architectures**
|
||||
- **Raspberry Pi users won't encounter binary mismatch errors**
|
||||
|
||||
### Buy Mode Not Supported
|
||||
|
||||
**Buy Mode cannot be used in Docker** because it requires interactive terminal input. Use Buy Mode only in local installations:
|
||||
|
||||
Reference in New Issue
Block a user