feat: vite文件大小限制

This commit is contained in:
wizardchen
2025-12-30 19:19:00 +08:00
committed by lyingbug
parent da1dcb0cda
commit 6a123f4620
3 changed files with 17 additions and 5 deletions

View File

@@ -1,7 +1,10 @@
services:
frontend:
image: wechatopenai/weknora-ui:latest
build: ./frontend
build:
context: ./frontend
args:
- MAX_FILE_SIZE_MB=${MAX_FILE_SIZE_MB:-50}
container_name: WeKnora-frontend
ports:
- "${FRONTEND_PORT:-80}:80"