Fix(pipeline): optimize docker build, fix zip structure, and update UI

- Docker:
  - Explicitly install pixi environments (digger, pipeline, webbackend) during build to prevent runtime network/DNS failures.
  - Optimize pnpm config (copy method) to fix EAGAIN errors.
- Backend:
  - Refactor ZIP bundling: use flat semantic directories (1_Toxin_Mining, etc.).
  - Fix "nested zip" issue by cleaning existing archives before bundling.
  - Exclude raw 'context' directory from final download.
- Frontend:
  - Update TutorialView documentation to match new result structure.
  - Improve TaskMonitor progress bar precision (1 decimal place).
  - Update i18n (en/zh) for new file descriptions.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zly
2026-01-21 20:43:28 +08:00
parent 452e15c806
commit e44692600c
10 changed files with 158 additions and 38 deletions

View File

@@ -407,6 +407,27 @@ The setup uses Traefik for SSL termination and routing. The backend API and fron
For detailed Docker deployment information, see [DOCKER_DEPLOYMENT.md](DOCKER_DEPLOYMENT.md)
### Building the Image Manually
To build the image manually, ensure you set the correct build context so that `pixi.toml` can be found.
```bash
# Option 1: From project root (specifying context)
docker build \
--network=host \
-f web/zly/docker/dockerfiles/Dockerfile.traefik \
-t hotwa/bttoxin-app:latest \
web/zly
# Option 2: Enter directory first
cd web/zly
docker build \
--network=host \
-f docker/dockerfiles/Dockerfile.traefik \
-t hotwa/bttoxin-app:latest \
.
```
## Troubleshooting
### pixi not found