We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8a1dc9 commit 3447268Copy full SHA for 3447268
1 file changed
Dockerfile
@@ -17,7 +17,7 @@ COPY go.mod go.sum ./
17
RUN go mod download
18
COPY . .
19
# 将第一阶段生成的静态文件拷贝过来供 Go 嵌入
20
-COPY --from=frontend-builder /app/web/dist ./web/dist
+COPY --from=frontend-builder /app/web/build ./web/build
21
# 编译单体文件
22
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o website-pb ./cmd/web/main.go
23
0 commit comments