cb49789bf4
- Created a new RegisterResult.vue component for displaying registration success. - Added ESLint configuration for unit tests in the tests directory. - Implemented vue.config.js for webpack configuration, including theme color support and proxy settings for development.
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
|