init push

This commit is contained in:
2026-05-21 19:52:45 +08:00
commit e3f75311ab
1280 changed files with 179173 additions and 0 deletions

21
web/admin/Makefile Normal file
View File

@@ -0,0 +1,21 @@
PLATFORM=linux/amd64
TAG=main
REGISTRY=panda-wiki-admin
# 构建前端代码
build:
pnpm run build
# 构建并加载到本地Docker
image: build
docker buildx build \
-f Dockerfile \
--platform ${PLATFORM} \
--tag ${REGISTRY}/frontend:${TAG} \
--load \
.
save: image
docker save -o /tmp/panda-wiki-admin_frontend.tar panda-wiki-admin/frontend:main