add docker support

This commit is contained in:
xd
2025-07-28 16:38:37 +08:00
parent 403bd27f95
commit 87ed1833bb
42 changed files with 168 additions and 900 deletions

20
docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
version: '3'
services:
frontend:
image: git.littlefat.tech/deploy/boluo/admin:latest
build:
context: .
dockerfile: .docker/Dockerfile
ports:
- "5000:5000"
environment:
- BASE_URL=http://192.168.60.120:8082
env_file:
- .env
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:5000"]
interval: 30s
timeout: 10s
retries: 3