build: 添加 git 依赖以支持服务器构建
This commit is contained in:
parent
22e9d09c39
commit
67c1b91bea
|
|
@ -4,6 +4,7 @@ ARG TARGETARCH=amd64
|
||||||
ARG TARGETVARIANT=""
|
ARG TARGETVARIANT=""
|
||||||
ENV CGO_ENABLED=0
|
ENV CGO_ENABLED=0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
RUN apk add --no-cache git
|
||||||
COPY server/ ./server/
|
COPY server/ ./server/
|
||||||
COPY web/ ./web/
|
COPY web/ ./web/
|
||||||
WORKDIR /app/server
|
WORKDIR /app/server
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue