f0a5af595d
- Fix indicator parameter values being reset after modification in indicator-analysis page - Fix Docker build nginx image pull failure (use specific version tag) - Add Docker build scripts (PowerShell and Bash versions) - Revert call_indicator feature (temporarily removed to avoid affecting existing indicator execution)
22 lines
477 B
Bash
22 lines
477 B
Bash
#!/bin/bash
|
|
# Docker build script with registry fallback
|
|
|
|
# Try to build with --pull flag to force pull from official registry
|
|
echo "Building frontend Docker image..."
|
|
docker build \
|
|
--pull \
|
|
--platform linux/amd64 \
|
|
-t quantdinger-frontend:latest \
|
|
-f Dockerfile \
|
|
.
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "Build failed, trying with no-cache..."
|
|
docker build \
|
|
--no-cache \
|
|
--platform linux/amd64 \
|
|
-t quantdinger-frontend:latest \
|
|
-f Dockerfile \
|
|
.
|
|
fi
|