fix: revert cropperjs dependency to version 1.6.2 and adjust Docker build commands for CORS proxy secrets

This commit is contained in:
alam00000
2026-03-01 21:29:13 +05:30
parent 34f12655c1
commit 957b78fafd
7 changed files with 40 additions and 145 deletions

View File

@@ -64,8 +64,9 @@ If you're self-hosting BentoPDF, you'll need to deploy your own CORS proxy for d
If using Docker:
```bash
docker build \
--build-arg VITE_CORS_PROXY_URL="https://your-worker.workers.dev" \
export VITE_CORS_PROXY_URL="https://your-worker.workers.dev"
DOCKER_BUILDKIT=1 docker build \
--secret id=VITE_CORS_PROXY_URL,env=VITE_CORS_PROXY_URL \
-t your-bentopdf .
```