feat: add RegisterResult component, ESLint config, and vue.config.js for project setup
- 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.
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# PowerShell script for building Docker image with registry fallback
|
||||
|
||||
Write-Host "Building frontend Docker image..." -ForegroundColor Green
|
||||
|
||||
# Try to build with --pull flag to force pull from official registry
|
||||
$buildResult = docker build `
|
||||
--pull `
|
||||
--platform linux/amd64 `
|
||||
-t quantdinger-frontend:latest `
|
||||
-f Dockerfile `
|
||||
.
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "Build failed, trying with no-cache..." -ForegroundColor Yellow
|
||||
docker build `
|
||||
--no-cache `
|
||||
--platform linux/amd64 `
|
||||
-t quantdinger-frontend:latest `
|
||||
-f Dockerfile `
|
||||
.
|
||||
}
|
||||
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
Write-Host "Build successful!" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "Build failed. Please check Docker registry configuration." -ForegroundColor Red
|
||||
}
|
||||
Reference in New Issue
Block a user