From 7307dda6b6ad4f60111f2908b2387173c83f3a69 Mon Sep 17 00:00:00 2001 From: yinheli Date: Sun, 27 Jun 2021 00:48:16 +0800 Subject: [PATCH] fix docker build --- tools/xservice/gogen/assets/project/Dockerfile.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xservice/gogen/assets/project/Dockerfile.tpl b/tools/xservice/gogen/assets/project/Dockerfile.tpl index fec3902..e64e5a3 100644 --- a/tools/xservice/gogen/assets/project/Dockerfile.tpl +++ b/tools/xservice/gogen/assets/project/Dockerfile.tpl @@ -11,5 +11,5 @@ FROM alpine RUN apk update --no-cache && apk add --no-cache ca-certificates tzdata ENV TZ Asia/Shanghai WORKDIR /app -COPY --from=builder /build/xservice/{{.Name}}/dist/{{.Name}}-linux-amd64/* /app +COPY --from=builder /build/xservice/dist/{{.Name}}-linux-amd64/ /app/ CMD ["./{{.Name}}"]