更新前后端配置并清理仓库内容

This commit is contained in:
2026-04-12 16:37:36 +08:00
parent dbd72610c1
commit d373ce1da9
20 changed files with 362 additions and 63 deletions

View File

@@ -0,0 +1,12 @@
# 使用本机/CI 预先构建的 Linux amd64 二进制(见 build-linux-amd64.bat镜像内不再执行 go build
# 构建前请先运行: build-linux-amd64.bat 生成 dist\server
FROM alpine:3.21
RUN apk --no-cache add ca-certificates tzdata
ENV TZ=Asia/Shanghai
WORKDIR /app
COPY dist/server ./server
RUN chmod +x ./server
EXPOSE 5002
ENV APP_ENV=production
ENV APP_PORT=5002
CMD ["./server"]