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}}"]