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:
21
README.md
21
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user