前端修饰与渲染处理

This commit is contained in:
2026-04-26 03:34:47 +08:00
parent 35eff3faf6
commit 6b5ddac178
114 changed files with 18465 additions and 132 deletions

37
build-docker.bat Normal file
View File

@@ -0,0 +1,37 @@
@echo off
chcp 65001 >nul
echo ========================================
echo Docker Build Script for China Users
echo ========================================
echo.
REM Set environment variables for China
set DOCKER_BUILDKIT=1
set COMPOSE_DOCKER_CLI_BUILD=1
echo Step 1: Cleaning up old builds...
docker system prune -f
docker builder prune -f
echo.
echo Step 2: Building backend service...
docker-compose build backend
if errorlevel 1 (
echo Backend build failed!
exit /b 1
)
echo.
echo Step 3: Building frontend service...
docker-compose build frontend
if errorlevel 1 (
echo Frontend build failed!
exit /b 1
)
echo.
echo ========================================
echo Build completed successfully!
echo ========================================
echo.
echo You can now run: docker-compose up -d