From d2297b9f1f16cabea7b97151a606e7a50288e0c6 Mon Sep 17 00:00:00 2001 From: gy <997485446@qq.com> Date: Thu, 23 Mar 2023 18:18:03 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat=20dockerfile=20=E7=98=A6=E8=BA=AB?= =?UTF-8?q?=E5=8A=A0=E9=80=9F=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DockerfileSlim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 DockerfileSlim diff --git a/DockerfileSlim b/DockerfileSlim new file mode 100644 index 0000000..c9108d9 --- /dev/null +++ b/DockerfileSlim @@ -0,0 +1,14 @@ +FROM busybox:glibc + +COPY ./docs/Shanghai /usr/share/zoneinfo/Asia/Shanghai +RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone +#ENV TZ Asia/Shanghai + +WORKDIR /app/main-client +#通过名称引用 +COPY ./build/app ./bin/mainServer +COPY ./conf/ /app/conf/ +COPY ./conf/ ./conf/ + +WORKDIR /app/main-client/bin +CMD ["./mainServer"] \ No newline at end of file From 27bd2f891ac44c76600efbfad22c575ff5e0f638 Mon Sep 17 00:00:00 2001 From: gy <997485446@qq.com> Date: Thu, 23 Mar 2023 18:22:30 +0800 Subject: [PATCH 2/3] feat --- docs/README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 docs/README.md diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..e69de29 From fef475eae9972547855a86b71d234dd96745f687 Mon Sep 17 00:00:00 2001 From: gy <997485446@qq.com> Date: Thu, 23 Mar 2023 18:29:51 +0800 Subject: [PATCH 3/3] feat --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 81b88ce..3905a63 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fonchain/fonchain-artistinfo -go 1.19 +go 1.18 replace ( //github.com/fonchain/electronic-contract => ../electronic-contract