fix:优化项目内容

This commit is contained in:
Daniel
2026-03-18 17:01:10 +08:00
parent da63282a10
commit 27dc89e251
64 changed files with 3421 additions and 4982 deletions

View File

@@ -0,0 +1,13 @@
FROM alpine:3.21
WORKDIR /app
# 仅用于开发:容器内跑 Vite dev server
# 依赖用 volume 缓存frontend_spa_node_modules首次启动会 npm install
RUN apk add --no-cache nodejs npm
EXPOSE 3000
CMD ["sh", "-c", "npm install && npm run dev -- --host 0.0.0.0 --port 3000"]