Skip to content

Commit 3447268

Browse files
committed
fix dockerfile
1 parent f8a1dc9 commit 3447268

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY go.mod go.sum ./
1717
RUN go mod download
1818
COPY . .
1919
# 将第一阶段生成的静态文件拷贝过来供 Go 嵌入
20-
COPY --from=frontend-builder /app/web/dist ./web/dist
20+
COPY --from=frontend-builder /app/web/build ./web/build
2121
# 编译单体文件
2222
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o website-pb ./cmd/web/main.go
2323

0 commit comments

Comments
 (0)