init: userbase front/service/deploy source (CI builds front via Gitea Actions)

This commit is contained in:
ab
2026-08-04 21:24:50 +08:00
commit e02dcc23da
407 changed files with 48134 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# UserBase 前端静态镜像(基于已构建好的 dist/prod)
# 构建上下文 = front 目录: docker build -f docker/Dockerfile -t <img> .
# 说明:caddy 用 handle_path /userbase/* 剥掉前缀后转发进来,故 nginx 直接以 / 提供服务
FROM nginx:1.27-alpine
RUN rm -rf /usr/share/nginx/html/*
COPY dist/prod/ /usr/share/nginx/html/
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80