From 13bc8b15cb7ab9686b8a83309ea63763c975b806 Mon Sep 17 00:00:00 2001 From: jaronnie Date: Mon, 3 Jun 2024 15:42:59 +0800 Subject: [PATCH] fix(jzero): fix Dockerfile --- Dockerfile | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0e7a90ad..47930040 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ ENV CGO_ENABLED 0 ENV GOPROXY https://goproxy.io,direct WORKDIR /app COPY config.toml /root/.jzero/config.toml +COPY dist /dist RUN if [ `go env GOARCH` = "amd64" ]; then \ cp /dist/jzero_linux_amd64_v1/jzero /app/jzero; \ diff --git a/main.go b/main.go index 32a24698..494dd4fb 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,7 @@ var ( // ldflags var ( - version = "0.18.0" + version = "0.18.1" commit string date string )