build: 添加 git 依赖以支持服务器构建

This commit is contained in:
zhouyonggao 2025-12-02 17:06:37 +08:00
parent 22e9d09c39
commit 67c1b91bea
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ ARG TARGETARCH=amd64
ARG TARGETVARIANT=""
ENV CGO_ENABLED=0
WORKDIR /app
RUN apk add --no-cache git
COPY server/ ./server/
COPY web/ ./web/
WORKDIR /app/server