Fix(docker): optimize pnpm build and explicitly set image tag

- Update Dockerfile:
  - Add `package-import-method copy` to pnpm config to resolve EAGAIN errors during build.
  - Optimize pnpm network concurrency settings.
- Update docker-compose.yml:
  - Explicitly set `image: hotwa/bttoxin-app:latest` for services.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zly
2026-01-21 00:40:34 +08:00
parent c75c85c53b
commit 452e15c806
2 changed files with 19 additions and 11 deletions

View File

@@ -30,6 +30,7 @@ services:
- frontend
bttoxin:
image: hotwa/bttoxin-app:latest
build:
context: .
dockerfile: docker/dockerfiles/Dockerfile.traefik
@@ -76,6 +77,7 @@ services:
- "traefik.http.middlewares.redirect-to-https.redirectscheme.permanent=true"
worker:
image: hotwa/bttoxin-app:latest
build:
context: .
dockerfile: docker/dockerfiles/Dockerfile.traefik